mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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)) {
|
||||
module.exports = {
|
||||
dbURL: getSecret('dbURL'),
|
||||
sessionsecret: getSecret('sessionsecret'),
|
||||
sslkeypath: getSecret('sslkeypath'),
|
||||
sslcertpath: getSecret('sslcertpath'),
|
||||
|
|
Loading…
Reference in a new issue