-
Notifications
You must be signed in to change notification settings - Fork 267
/
render.yaml
47 lines (45 loc) · 1.01 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
services:
- type: web
name: ghost
env: docker
autoDeploy: false
disk:
name: ghost
mountPath: /var/lib/ghost/content
sizeGB: 10 #Feel free to change this to suit your needs.
envVars:
- key: database__client
value: mysql
- key: database__connection__host
fromService:
type: pserv
name: mysql
property: host
- key: database__connection__database
value: ghostdb
- key: database__connection__user
value: mysql
- key: database__connection__password
fromService:
type: pserv
name: mysql
envVarKey: MYSQL_PASSWORD
- 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_DATABASE
value: ghostdb
- key: MYSQL_USER
value: mysql
- key: MYSQL_PASSWORD
generateValue: true
- key: MYSQL_ROOT_PASSWORD
generateValue: true