generated from render-examples/ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
42 lines (40 loc) · 894 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
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
- type: pserv
name: mysql
plan: free
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