-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcloudbaserc.json
43 lines (43 loc) · 952 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": "strapi",
"plugins": {
"client": {
"use": "@cloudbase/framework-plugin-container",
"inputs": {
"serviceName": "strapi",
"servicePath": "/",
"localPath": "./",
"uploadType": "package",
"containerPort": 1337,
"envVariables": {
"DATABASE_NAME": "strapi"
},
"volumeMounts": {
"/srv/app": "strapi-cfs"
}
}
}
},
"requirement": {
"addons": [
{
"type": "CFS",
"name": "strapi-cfs"
},
{
"type": "CynosDB",
"name": "strapi",
"envMap": {
"IP": "DATABASE_HOST",
"PORT": "DATABASE_PORT",
"USERNAME": "DATABASE_USERNAME",
"PASSWORD": "DATABASE_PASSWORD"
}
}
]
}
}
}