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
1 changed files with 1 additions and 0 deletions

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'),