2023-08-01 00:36:04 +03:00
|
|
|
services:
|
2023-10-18 14:54:12 +03:00
|
|
|
- type: web
|
2024-07-09 01:27:07 +03:00
|
|
|
name: server
|
2024-01-03 18:17:35 +03:00
|
|
|
runtime: image
|
|
|
|
image:
|
2024-07-09 01:27:07 +03:00
|
|
|
url: twentycrm/twenty:latest
|
|
|
|
dockerCommand: "sh -c ./scripts/render-run.sh"
|
2023-10-18 14:54:12 +03:00
|
|
|
autoDeploy: false
|
2024-07-09 01:27:07 +03:00
|
|
|
plan: standard
|
2023-10-18 14:54:12 +03:00
|
|
|
envVars:
|
2024-07-09 01:27:07 +03:00
|
|
|
- key: FRONT_BASE_URL
|
2023-10-18 14:54:12 +03:00
|
|
|
fromService:
|
|
|
|
name: server
|
|
|
|
type: web
|
|
|
|
envVarKey: RENDER_EXTERNAL_URL
|
2024-07-09 01:27:07 +03:00
|
|
|
- key: SERVER_URL
|
|
|
|
fromService:
|
|
|
|
name: server
|
|
|
|
type: web
|
|
|
|
envVarKey: RENDER_EXTERNAL_URL
|
2024-10-30 14:07:11 +03:00
|
|
|
- key: APP_SECRET
|
2024-07-09 01:27:07 +03:00
|
|
|
generateValue: true
|
|
|
|
- key: PG_DATABASE_HOST
|
|
|
|
fromService:
|
|
|
|
name: twenty_postgres
|
|
|
|
type: pserv
|
|
|
|
property: host
|
|
|
|
- key: PG_DATABASE_PORT
|
|
|
|
fromService:
|
|
|
|
name: twenty_postgres
|
|
|
|
type: pserv
|
|
|
|
property: port
|
|
|
|
- type: worker
|
|
|
|
name: worker
|
2024-01-03 18:17:35 +03:00
|
|
|
runtime: image
|
|
|
|
image:
|
2024-07-09 01:27:07 +03:00
|
|
|
url: twentycrm/twenty:latest
|
|
|
|
dockerCommand: "sh -c ./scripts/render-worker.sh"
|
2023-08-01 00:36:04 +03:00
|
|
|
autoDeploy: false
|
2024-01-03 18:17:35 +03:00
|
|
|
plan: standard
|
2023-08-01 00:36:04 +03:00
|
|
|
envVars:
|
2023-10-18 14:54:12 +03:00
|
|
|
- key: FRONT_BASE_URL
|
|
|
|
fromService:
|
2024-07-09 01:27:07 +03:00
|
|
|
name: server
|
|
|
|
type: web
|
|
|
|
envVarKey: RENDER_EXTERNAL_URL
|
|
|
|
- key: SERVER_URL
|
|
|
|
fromService:
|
|
|
|
name: server
|
2023-10-18 14:54:12 +03:00
|
|
|
type: web
|
|
|
|
envVarKey: RENDER_EXTERNAL_URL
|
2024-10-30 14:07:11 +03:00
|
|
|
- key: APP_SECRET
|
2024-03-26 15:42:09 +03:00
|
|
|
generateValue: true
|
2023-10-18 14:54:12 +03:00
|
|
|
- key: PG_DATABASE_HOST
|
|
|
|
fromService:
|
|
|
|
name: twenty_postgres
|
|
|
|
type: pserv
|
|
|
|
property: host
|
|
|
|
- key: PG_DATABASE_PORT
|
|
|
|
fromService:
|
|
|
|
name: twenty_postgres
|
|
|
|
type: pserv
|
|
|
|
property: port
|
2023-08-01 00:36:04 +03:00
|
|
|
disk:
|
|
|
|
name: twenty-disk
|
|
|
|
mountPath: /.local-storage
|
|
|
|
sizeGB: 5
|
2023-10-18 14:54:12 +03:00
|
|
|
- type: pserv
|
|
|
|
name: twenty_postgres
|
2024-01-03 18:17:35 +03:00
|
|
|
plan: starter
|
2024-01-03 16:25:24 +03:00
|
|
|
runtime: image
|
|
|
|
image:
|
|
|
|
url: twentycrm/twenty-postgres:latest
|
2023-10-14 12:48:55 +03:00
|
|
|
autoDeploy: false
|
2023-10-18 14:54:12 +03:00
|
|
|
disk:
|
|
|
|
name: data
|
|
|
|
mountPath: /var/lib/postgresql/data
|
|
|
|
sizeGB: 10
|
2023-10-14 12:48:55 +03:00
|
|
|
envVars:
|
2023-10-18 14:54:12 +03:00
|
|
|
- key: POSTGRES_USER
|
2024-01-03 16:25:24 +03:00
|
|
|
value: postgres
|
2023-10-18 14:54:12 +03:00
|
|
|
- key: POSTGRES_PASSWORD
|
2024-01-03 16:25:24 +03:00
|
|
|
value: postgres
|