-
Notifications
You must be signed in to change notification settings - Fork 2
/
cloudbaserc.json
57 lines (56 loc) · 1.4 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"version": "2.0",
"envId": "{{env.ENV_ID}}",
"framework": {
"name": "ghost",
"plugins": {
"client": {
"use": "@cloudbase/framework-plugin-container",
"inputs": {
"customLogs": "/tmp/*",
"serviceName": "ghost",
"servicePath": "/",
"uploadType": "image",
"containerPort": 2368,
"imageInfo": {
"imageUrl": "ccr.ccs.tencentyun.com/tcb_public/ghost:3.38.3"
},
"envVariables": {
"database__client": "mysql",
"database__connection__database": "ghost",
"logging__path": "/tmp",
"url": "{{env.url}}"
},
"volumeMounts": {
"/var/lib/ghost/content": "ghost-cfs"
}
}
}
},
"requirement": {
"addons": [
{
"type": "CFS",
"name": "ghost-cfs"
},
{
"type": "CynosDB",
"name": "ghost",
"envMap": {
"IP": "database__connection__host",
"PORT": "database__connection__port",
"USERNAME": "database__connection__user",
"PASSWORD": "database__connection__password"
}
}
],
"environment": {
"url": {
"description": "网站访问地址",
"required": true,
"default": "http://localhost:2369"
}
}
}
}
}