Merge pull request #128 from dargmuesli/docker-secrets
DB URL: Secret File Support
This commit is contained in:
commit
2f6e81e4db
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ function getSecret (secret) {
|
||||||
|
|
||||||
if (fs.existsSync(basePath)) {
|
if (fs.existsSync(basePath)) {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
dbURL: getSecret('dbURL'),
|
||||||
sessionsecret: getSecret('sessionsecret'),
|
sessionsecret: getSecret('sessionsecret'),
|
||||||
sslkeypath: getSecret('sslkeypath'),
|
sslkeypath: getSecret('sslkeypath'),
|
||||||
sslcertpath: getSecret('sslcertpath'),
|
sslcertpath: getSecret('sslcertpath'),
|
||||||
|
|
Loading…
Reference in a new issue