Fix Docker configuration for authentication

This commit is contained in:
Lewis Juggins
2021-05-15 18:28:31 +02:00
committed by Michael Eischer
parent a44c025cd3
commit cec241e5e1
3 changed files with 13 additions and 3 deletions
+3 -1
View File
@@ -2,7 +2,9 @@
set -e
if [ -z "$DISABLE_AUTHENTICATION" ]; then
if [ -n "$DISABLE_AUTHENTICATION" ]; then
OPTIONS="--no-auth $OPTIONS"
else
if [ ! -f "$PASSWORD_FILE" ]; then
touch "$PASSWORD_FILE"
fi