├── .do
└── deploy.template.yaml
├── Dockerfile
├── README.md
├── app.json
├── heroku.yml
├── opta.yaml
└── render.yaml
/.do/deploy.template.yaml:
--------------------------------------------------------------------------------
1 | spec:
2 | name: nocodb
3 | services:
4 | - name: nocodb
5 | dockerfile_path: Dockerfile
6 | git:
7 | branch: main
8 | repo_clone_url: https://github.com/nocodb/nocodb-seed-heroku.git
9 | envs:
10 | - key: NC_DB
11 | scope: RUN_TIME
12 | value: pg://${xc.HOSTNAME}:${xc.PORT}?u=${xc.USERNAME}&p=${xc.PASSWORD}&d=${xc.DATABASE}&ssl=no-verify
13 | databases:
14 | - name: xc
15 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM nocodb/nocodb:latest
2 |
3 | ENTRYPOINT ["sh", "/usr/src/appEntry/start.sh"]
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # heroku
2 |
3 |
4 |
5 |
6 | ## 1-Click Deploy
7 |
8 |
9 |
10 |
11 | [](https://render.com/deploy?repo=https://github.com/nocodb/nocodb-seed-heroku)
12 |
13 |
14 | [](https://app.runx.dev/deploy-with-aws?url=https%3A%2F%2Fgithub.com%2Fnocodb%2Fnocodb-seed-heroku%2Fblob%2Fmain%2Fopta.yaml&name=NocoDB)
15 |
16 | [](https://cloud.digitalocean.com/apps/new?repo=https://github.com/nocodb/nocodb-seed-heroku/tree/main)
17 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nocodb",
3 | "description": "Create APIs at the speed of thoughts",
4 | "logo": "https://nocodb.com/brand/favicon-64.png",
5 | "keywords": [
6 | "nocodb"
7 | ],
8 | "success_url": "/dashboard",
9 | "website": "https://nocodb.com",
10 | "repository": "https://github.com/nocodb/nocodb-seed-heroku",
11 | "formation": {
12 | "web": {
13 | "quantity": 1
14 | }
15 | },
16 | "stack": "container",
17 | "addons": [
18 | {
19 | "plan": "heroku-postgresql:essential-0"
20 | }
21 | ],
22 | "env": {
23 | "NC_ONE_CLICK": "true",
24 | "NODE_TLS_REJECT_UNAUTHORIZED": "0"
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/heroku.yml:
--------------------------------------------------------------------------------
1 | build:
2 | docker:
3 | web: Dockerfile
4 |
--------------------------------------------------------------------------------
/opta.yaml:
--------------------------------------------------------------------------------
1 | name: nocodb
2 | org_name: <>
3 | providers:
4 | aws:
5 | region: <>
6 | account_id: <>
7 | modules:
8 | - type: base
9 | - type: dns
10 | domain: <>
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/ # 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
34 |
--------------------------------------------------------------------------------
/render.yaml:
--------------------------------------------------------------------------------
1 | services:
2 | - type: web
3 | name: xc
4 | env: docker
5 | autoDeploy: false
6 | healthCheckPath: /dashboard
7 | envVars:
8 | - key: DATABASE_URL
9 | fromDatabase:
10 | name: xc
11 | property: connectionString
12 | - key: PORT
13 | value: 8080
14 | databases:
15 | - name: xc
16 |
--------------------------------------------------------------------------------