-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathcloudbaserc.json
46 lines (46 loc) · 1.09 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
{
"version": "2.0",
"envId": "{{env.ENV_ID}}",
"framework": {
"name": "bitwarden",
"plugins": {
"client": {
"use": "@cloudbase/framework-plugin-container",
"inputs": {
"serviceName": "bitwarden",
"servicePath": "/",
"localPath": "./",
"uploadType": "package",
"containerPort": 80,
"envVariables": {
"WEBSOCKET_ENABLED": "false",
"ENABLE_DB_WAL": "false",
"DB_NAME": "bitwarden",
"DATABASE_URL": "mysql://{{env.DB_USER}}:{{env.DB_PASS}}@{{env.DB_HOST}}:{{env.DB_PORT}}/bitwarden"
},
"volumeMounts": {
"/data": "bitwarden-cfs"
}
}
}
},
"requirement": {
"addons": [
{
"type": "CFS",
"name": "bitwarden-cfs"
},
{
"type": "CynosDB",
"name": "bitwarden",
"envMap": {
"IP": "DB_HOST",
"PORT": "DB_PORT",
"USERNAME": "DB_USER",
"PASSWORD": "DB_PASS"
}
}
]
}
}
}