-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
render.yaml
42 lines (41 loc) · 931 Bytes
/
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
services:
- type: web
name: front
env: docker
dockerfilePath: ./infra/prod/front/Dockerfile
autoDeploy: false
envVars:
- key: REACT_APP_SERVER_BASE_URL
fromService:
name: server
type: web
envVarKey: RENDER_EXTERNAL_URL
- type: web
name: server
env: docker
dockerfilePath: ./infra/prod/server/Dockerfile
dockerCommand: "sh -c yarn prisma:migrate && node dist/src/main"
autoDeploy: false
envVars:
- key: ACCESS_TOKEN_SECRET
generateValue: true
- key: LOGIN_TOKEN_SECRET
generateValue: true
- key: REFRESH_TOKEN_SECRET
generateValue: true
- key: PG_DATABASE_URL
fromDatabase:
name: twenty-db
property: connectionString
- key: FRONT_BASE_URL
fromService:
name: front
type: web
envVarKey: RENDER_EXTERNAL_URL
disk:
name: twenty-disk
mountPath: /.local-storage
sizeGB: 5
databases:
- name: twenty-db
plan: starter