-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcloudbaserc.json
60 lines (60 loc) · 2.08 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
58
59
60
{
"version": "2.0",
"envId": "{{env.ENV_ID}}",
"framework": {
"name": "Discuz-Q",
"plugins": {
"client": {
"use": "@cloudbase/framework-plugin-container",
"inputs": {
"serviceName": "discuzq",
"servicePath": "/",
"localPath": "./",
"uploadType": "image",
"imageInfo": {
"imageUrl": "ccr.ccs.tencentyun.com/discuzq/dzq-no-db:latest"
},
"containerPort": 80,
"customLogs": "stdout,/dev/stdout,/dev/stderr",
"initialDelaySeconds": 5,
"bumpVersion": true,
"envVariables": {
"CosBucketId": "${TcbStaticStoreBucket}",
"CosCdnName": "${TcbStaticStoreCdnName}",
"CosRegion": "${TcbStaticStoreRegion}"
},
"volumeMounts": {
"/var/lib/discuz": "discuz-cfs"
}
}
}
},
"requirement": {
"addons": [{
"type": "CFS",
"name": "discuz-cfs"
}, {
"type": "CynosDB",
"name": "discuzq",
"envMap": {
"IP": "MysqlHost",
"PORT": "MysqlPort",
"USERNAME": "MysqlUsername",
"PASSWORD": "MysqlPassword"
}
}],
"environment": {
"AdminAccount": {
"description": "后台管理系统管理员账号",
"required": true,
"default": "admin"
},
"AdminPassword": {
"description": "后台管理系统管理员密码",
"required": true,
"default": "discuz@1234"
}
}
}
}
}