mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-02 21:29:12 -04:00
Docker: If DB_*
env var is unset, remove the corresponding setting
This commit is contained in:
parent
428f8d1684
commit
de0a450aec
2 changed files with 8 additions and 6 deletions
|
@ -207,12 +207,12 @@
|
|||
|
||||
"dbType": "${DB_TYPE:dirty}",
|
||||
"dbSettings": {
|
||||
"host": "${DB_HOST:null}",
|
||||
"port": "${DB_PORT:null}",
|
||||
"database": "${DB_NAME:null}",
|
||||
"user": "${DB_USER:null}",
|
||||
"password": "${DB_PASS:null}",
|
||||
"charset": "${DB_CHARSET:null}",
|
||||
"host": "${DB_HOST:undefined}",
|
||||
"port": "${DB_PORT:undefined}",
|
||||
"database": "${DB_NAME:undefined}",
|
||||
"user": "${DB_USER:undefined}",
|
||||
"password": "${DB_PASS:undefined}",
|
||||
"charset": "${DB_CHARSET:undefined}",
|
||||
"filename": "${DB_FILENAME:var/dirty.db}"
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue