-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
render.yaml
83 lines (83 loc) · 1.79 KB
/
render.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
services:
- type: web
name: server
runtime: image
image:
url: twentycrm/twenty:latest
dockerCommand: "sh -c ./scripts/render-run.sh"
autoDeploy: false
plan: standard
envVars:
- key: FRONT_BASE_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: SERVER_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: APP_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
- type: worker
name: worker
runtime: image
image:
url: twentycrm/twenty:latest
dockerCommand: "sh -c ./scripts/render-worker.sh"
autoDeploy: false
plan: standard
envVars:
- key: FRONT_BASE_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: SERVER_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- key: APP_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