diff --git a/docker/build_local_image.sh b/docker/build_local_image.sh index da2157845..5c4b7b061 100755 --- a/docker/build_local_image.sh +++ b/docker/build_local_image.sh @@ -1,6 +1,5 @@ #!/bin/bash -VERSION="2.0.0" branch_name="$(git symbolic-ref HEAD 2>/dev/null)" branch_name=${branch_name##refs/heads/} -docker build -t rommapp/romm:local-${VERSION}-${branch_name} . --file ./docker/Dockerfile +docker build -t rommapp/romm:local-${branch_name} . --file ./docker/Dockerfile diff --git a/docker/init_scripts/init b/docker/init_scripts/init index 85320836f..177103e57 100755 --- a/docker/init_scripts/init +++ b/docker/init_scripts/init @@ -108,7 +108,7 @@ cd /backend || { error_log "/backend directory doesn't seem to exist"; } while true; do # Start redis server if we dont have a corresponding PID file # and REDIS_HOST is not set (which would mean we're using an external redis) - if [[ -z "${REDIS_HOST}" ]]; then + if [[ -z "${REDIS_HOST:=""}" ]]; then watchdog_process_pid bin redis-server fi