diff options
author | Jonas Thelemann | 2019-07-01 19:39:28 +0200 |
---|---|---|
committer | Jonas Thelemann | 2019-07-01 19:43:42 +0200 |
commit | cc78dd0428a86766690e7979017ce294d9d30aa4 (patch) | |
tree | 6bd2db86ad92661613f7616e2ac678555ec56cf7 | |
parent | 0d5923d61cd8486e7d65776d8318115d9370380c (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.js | 1 |
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'), |