summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Thelemann2019-07-01 19:39:28 +0200
committerJonas Thelemann2019-07-01 19:43:42 +0200
commitcc78dd0428a86766690e7979017ce294d9d30aa4 (patch)
tree6bd2db86ad92661613f7616e2ac678555ec56cf7
parent0d5923d61cd8486e7d65776d8318115d9370380c (diff)
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>
Diffstat (limited to '')
-rw-r--r--lib/config/dockerSecret.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/config/dockerSecret.js b/lib/config/dockerSecret.js
index fd66ddfe..3a6910f4 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'),