forked from parcelvoy/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
87 lines (87 loc) · 2.03 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
84
85
86
87
services:
- type: web
name: parcelvoy
env: docker
repo: https://github.com/parcelvoy/platform.git
dockerfilePath: ./docker/Dockerfile.render
dockerContext: .
autoDeploy: false
healthCheckPath: /api/health
envVars:
- key: NODE_ENV
value: production
- key: BASE_URL
sync: false
- key: MONO
value: true
- key: PORT
value: 80
- key: APP_SECRET
generateValue: true
- key: DB_CLIENT
value: mysql2
- key: DB_HOST
fromService:
type: pserv
name: mysql
property: host
- key: DB_USERNAME
fromService:
type: pserv
name: mysql
envVarKey: MYSQL_USER
- key: DB_PASSWORD
fromService:
type: pserv
name: mysql
envVarKey: MYSQL_PASSWORD
- key: DB_PORT
value: 3306
- key: DB_DATABASE
fromService:
type: pserv
name: mysql
envVarKey: MYSQL_DATABASE
- key: STORAGE_DRIVER
value: local
- key: QUEUE_DRIVER
value: redis
- key: REDIS_HOST
fromService:
type: redis
name: lightning
property: host
- key: REDIS_PORT
fromService:
type: redis
name: lightning
property: port
- key: AUTH_DRIVER
value: basic
- key: AUTH_BASIC_EMAIL
sync: false
- key: AUTH_BASIC_PASSWORD
sync: false
- type: redis
name: lightning
ipAllowList: []
maxmemoryPolicy: noeviction # optional (defaults to allkeys-lru)
- type: pserv
name: mysql
plan: standard
env: docker
repo: https://github.com/render-examples/mysql
autoDeploy: false
disk:
name: mysql
mountPath: /var/lib/mysql
sizeGB: 10
envVars:
- key: MYSQL_ROOT_PASSWORD
generateValue: true
- key: MYSQL_DATABASE
value: parcelvoy
- key: MYSQL_USER
value: parcelvoy
- key: MYSQL_PASSWORD
generateValue: true