-
Notifications
You must be signed in to change notification settings - Fork 445
/
render.yaml
74 lines (71 loc) · 1.74 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
services:
- name: fleet
plan: standard
type: web
runtime: image
image:
url: 'fleetdm/fleet:latest'
preDeployCommand: "fleet prepare --no-prompt=true db"
healthCheckPath: /healthz
disk:
name: installers
mountPath: /opt/fleet/installers
sizeGB: 10
envVars:
- key: FLEET_SOFTWARE_INSTALLER_STORE_DIR
value: '/opt/fleet/installers'
- key: FLEET_SERVER_PRIVATE_KEY
generateValue: true
- key: FLEET_MYSQL_ADDRESS
fromService:
name: fleet-mysql
type: pserv
property: hostport
- key: FLEET_MYSQL_DATABASE
fromService:
name: fleet-mysql
type: pserv
envVarKey: MYSQL_DATABASE
- key: FLEET_MYSQL_PASSWORD
fromService:
name: fleet-mysql
type: pserv
envVarKey: MYSQL_PASSWORD
- key: FLEET_MYSQL_USERNAME
fromService:
name: fleet-mysql
type: pserv
envVarKey: MYSQL_USER
- key: FLEET_REDIS_ADDRESS
fromService:
name: fleet-redis
type: pserv
property: hostport
- key: FLEET_SERVER_TLS
value: 'false'
- key: PORT
value: 8080
- name: fleet-mysql
plan: standard
type: pserv
runtime: docker
repo: https://github.com/render-examples/mysql
disk:
name: mysql
mountPath: /var/lib/mysql
sizeGB: 10
envVars:
- key: MYSQL_DATABASE
value: fleet
- key: MYSQL_PASSWORD
generateValue: true
- key: MYSQL_ROOT_PASSWORD
generateValue: true
- key: MYSQL_USER
value: fleet
- name: fleet-redis
plan: starter
type: pserv
runtime: image
image:
url: 'redis:7.2.4'