From cc78dd0428a86766690e7979017ce294d9d30aa4 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Mon, 1 Jul 2019 19:39:28 +0200 Subject: [PATCH] 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 --- lib/config/dockerSecret.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/dockerSecret.js b/lib/config/dockerSecret.js index fd66ddf..3a6910f 100644 --- a/lib/config/dockerSecret.js +++ b/lib/config/dockerSecret.js @@ -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'),