Docker: If DB_* env var is unset, remove the corresponding setting

This commit is contained in:
Richard Hansen 2021-06-06 03:28:47 -04:00
parent 428f8d1684
commit de0a450aec
2 changed files with 8 additions and 6 deletions

View file

@ -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}"
},