Skip to content

Commit 1d550d1

Browse files
authored
Merge pull request #3 from nsarupr/adding-opta-deploy
Adding opta deploy
2 parents f5ecff1 + be185bc commit 1d550d1

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010

1111
[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com//nocodb/nocodb-seed-heroku)
1212

13+
14+
[![Deploy](https://raw.githubusercontent.com/run-x/opta/main/assets/deploy-to-aws-using-opta.svg)](https://app.runx.dev/deploy-with-aws?url=https%3A%2F%2Fgithub.com%2Fnocodb%2Fnocodb-seed-heroku%2Fblob%2Fmain%2Fopta.yaml&name=NocoDB)

opta.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: nocodb
2+
org_name: <<org_name::org_name::Your Organization Name>>
3+
providers:
4+
aws:
5+
region: <<region::aws_region::Your AWS Region>>
6+
account_id: <<account_id::aws_account_id::Your AWS Account ID>>
7+
modules:
8+
- type: base
9+
- type: dns
10+
domain: <<domain::string::The dns domain for your NocoDB deployment>>
11+
delegated: false # set to true once ready https://docs.opta.dev/miscellaneous/ingress/
12+
- type: k8s-cluster
13+
- type: k8s-base
14+
name: k8sbase
15+
- type: cloudfront-distribution
16+
# acm_cert_arn: arn:aws:acm:{aws.region}:{aws.account_id}:certificate/<valid_arn_id> # Use the ACM cert ARN here
17+
# domains:
18+
# - ${{module.dns.domain}}
19+
links:
20+
- k8sbase
21+
- name: pg
22+
type: postgres
23+
safety: false
24+
- type: k8s-service
25+
env_vars:
26+
- name: NC_DB
27+
value: "pg://${{module.pg.db_host}}:5432?u=${{module.pg.db_user}}&p=${{module.pg.db_password}}&d=${{module.pg.db_name}}"
28+
public_uri: "/"
29+
port:
30+
tcp: 8080
31+
image: nocodb/nocodb
32+
links:
33+
- pg

0 commit comments

Comments
 (0)