Docker Secrets: Add DB URL Support

As the connection string may include a password it should be supported by Docker Secrets.

Signed-off-by: Jonas Thelemann <e-mail@jonas-thelemann.de>
This commit is contained in:
Jonas Thelemann 2019-07-01 19:39:28 +02:00
parent 0d5923d61c
commit cc78dd0428
No known key found for this signature in database
GPG key ID: 55253A8FC546418B

View file

@ -13,6 +13,7 @@ function getSecret (secret) {
if (fs.existsSync(basePath)) {
module.exports = {
dbURL: getSecret('dbURL'),
sessionsecret: getSecret('sessionsecret'),
sslkeypath: getSecret('sslkeypath'),
sslcertpath: getSecret('sslcertpath'),