-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcloudbaserc.json
43 lines (43 loc) · 1004 Bytes
/
cloudbaserc.json
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
{
"version": "2.0",
"envId": "{{env.ENV_ID}}",
"framework": {
"name": "wordpress",
"plugins": {
"client": {
"use": "@cloudbase/framework-plugin-container",
"inputs": {
"serviceName": "wordpress",
"servicePath": "/",
"uploadType": "package",
"containerPort": 80,
"envVariables": {
"WORDPRESS_DB_HOST": "{{env.DB_IP}}:{{env.DB_PORT}}",
"WORDPRESS_DB_NAME": "wordpress"
},
"volumeMounts": {
"/var/www/html": "wordpress-cfs"
}
}
}
},
"requirement": {
"addons": [
{
"type": "CFS",
"name": "wordpress-cfs"
},
{
"type": "CynosDB",
"name": "wordpress",
"envMap": {
"IP": "DB_IP",
"PORT": "DB_PORT",
"USERNAME": "WORDPRESS_DB_USER",
"PASSWORD": "WORDPRESS_DB_PASSWORD"
}
}
]
}
}
}