twenty/render.yaml
Darek Desu 22d17d855c
File token chores (#4664)
* Missing file token chores

* Make whole idea folder ignored
2024-03-26 13:42:09 +01:00

69 lines
1.5 KiB
YAML

services:
- type: web
name: front
runtime: image
plan: free
image:
url: twentycrm/twenty-front:latest
autoDeploy: false
envVars:
- key: REACT_APP_SERVER_BASE_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- type: web
name: server
runtime: image
image:
url: twentycrm/twenty-server:latest
dockerCommand: "sh -c ./scripts/render-run.sh"
autoDeploy: false
plan: standard
envVars:
- key: FRONT_BASE_URL
fromService:
name: front
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: ACCESS_TOKEN_SECRET
generateValue: true
- key: LOGIN_TOKEN_SECRET
generateValue: true
- key: REFRESH_TOKEN_SECRET
generateValue: true
- key: FILE_TOKEN_SECRET
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
disk:
name: twenty-disk
mountPath: /.local-storage
sizeGB: 5
- type: pserv
name: twenty_postgres
plan: starter
runtime: image
image:
url: twentycrm/twenty-postgres:latest
autoDeploy: false
disk:
name: data
mountPath: /var/lib/postgresql/data
sizeGB: 10
envVars:
- key: POSTGRES_USER
value: postgres
- key: POSTGRES_PASSWORD
value: postgres
- key: POSTGRES_DB
value: default