generated from render-examples/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
43 lines (42 loc) · 940 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
43
services:
- type: web
name: wordpress
env: docker
plan: standard
disk:
name: wordpress
mountPath: /var/www/html
sizeGB: 20
envVars:
- key: WORDPRESS_DB_HOST
fromService:
name: mysql-wordpress
type: pserv
property: host
- key: WORDPRESS_DB_NAME
value: mysql
- key: WORDPRESS_DB_USER
value: mysql
- key: WORDPRESS_DB_PASSWORD
value: mysql
- type: pserv
name: mysql-wordpress
env: docker
plan: standard
disk:
name: mysql-wordpress
mountPath: /var/lib/mysql
sizeGB: 20
envVars:
- fromGroup: mysql-wordpress
envVarGroups:
- name: mysql-wordpress
envVars:
- key: MYSQL_DATABASE
value: mysql
- key: MYSQL_USER
value: mysql
- key: MYSQL_PASSWORD
generateValue: true
- key: MYSQL_ROOT_PASSWORD
generateValue: true