Merge pull request #128 from dargmuesli/docker-secrets

DB URL: Secret File Support
This commit is contained in:
Sheogorath 2019-07-20 12:49:19 +02:00 committed by GitHub
commit 2f6e81e4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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'),