forked from render-examples/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
50 lines (50 loc) · 1.04 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
services:
- type: web
name: wordpress
env: docker
plan: standard
autoDeploy: false
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
fromService:
name: mysql-wordpress
type: pserv
envVarKey: MYSQL_DATABASE
- key: WORDPRESS_DB_USER
fromService:
name: mysql-wordpress
type: pserv
envVarKey: MYSQL_USER
- key: WORDPRESS_DB_PASSWORD
fromService:
name: mysql-wordpress
type: pserv
envVarKey: MYSQL_PASSWORD
- type: pserv
name: mysql-wordpress
repo: https://github.com/render-examples/mysql.git
env: docker
plan: standard
autoDeploy: false
disk:
name: mysql-wordpress
mountPath: /var/lib/mysql
sizeGB: 20
envVars:
- key: MYSQL_DATABASE
value: mysql
- key: MYSQL_USER
value: mysql
- key: MYSQL_PASSWORD
generateValue: true
- key: MYSQL_ROOT_PASSWORD
generateValue: true