diff --git a/Dockerfile b/Dockerfile index ec0f2e946..0f4e6c0be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ RUN \ echo "*** Create symbolic links to config directory ***" && \ for R in $RESOURCES; do ln -s "../config/$R" "public/$R"; done || true && \ \ + rm -f "config.yaml" "public/settings.json" "public/css/bg_load.css" || true && \ ln -s "./config/config.yaml" "config.yaml" || true && \ ln -s "../config/settings.json" "public/settings.json" || true && \ ln -s "../../config/bg_load.css" "public/css/bg_load.css" || true && \ diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 69d8aa68c..8f0cdf86e 100644 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -26,6 +26,9 @@ fi CONFIG_FILE="config.yaml" +echo "Starting with the following config:" +cat $CONFIG_FILE + if grep -q "listen: false" $CONFIG_FILE; then echo -e "\033[1;31mThe listen parameter is set to false. If you can't connect to the server, edit the \"docker/config/config.yaml\" file and restart the container.\033[0m" sleep 5