Fixed jsreport volume
This commit is contained in:
parent
b27a254e67
commit
5a136cbd1e
|
|
@ -5,17 +5,16 @@
|
||||||
"version": "3.3",
|
"version": "3.3",
|
||||||
"services": {
|
"services": {
|
||||||
"$$cap_appname": {
|
"$$cap_appname": {
|
||||||
"image": "jsreport/jsreport:$$cap_jsreport_version",
|
"image": "jsreport/jsreport:$$cap_jsreport_version",
|
||||||
"volumes": [
|
"volumes": [
|
||||||
"$$cap_appname-db-data:/data/db",
|
"$$cap_appname-data:/jsreport"
|
||||||
"$$cap_appname-db-config:/data/configdb"
|
|
||||||
],
|
],
|
||||||
"restart": "always",
|
"restart": "always",
|
||||||
"containerHttpPort": "5488",
|
"containerHttpPort": "5488",
|
||||||
"environment": {
|
"environment": {
|
||||||
"extensions_authentication_admin_username": "$$cap_jsreport_adminusername",
|
"extensions_authentication_admin_username": "$$cap_jsreport_adminusername",
|
||||||
"extensions_authentication_admin_password": "$$cap_jsreport_password",
|
"extensions_authentication_admin_password": "$$cap_jsreport_password",
|
||||||
"extensions_authentication_cookieSession_secret": "$$cap_jsreport_secret"
|
"extensions_authentication_cookieSession_secret": "$$cap_jsreport_secret"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -43,12 +42,12 @@
|
||||||
"label": "Admin password",
|
"label": "Admin password",
|
||||||
"validRegex": "/^\\s*\\S.*$/"
|
"validRegex": "/^\\s*\\S.*$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "$$cap_jsreport_secret",
|
"id": "$$cap_jsreport_secret",
|
||||||
"label": "Session secret",
|
"label": "Session secret",
|
||||||
"defaultValue": "long-secret",
|
"defaultValue": "long-secret",
|
||||||
"validRegex": "/^\\s*\\S.*$/"
|
"validRegex": "/^\\s*\\S.*$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue