Skip to content

Commit

Permalink
Merge pull request #753 from rommapp/master
Browse files Browse the repository at this point in the history
Fixed REDIS_HOST check
  • Loading branch information
zurdi15 authored Mar 25, 2024
2 parents b95ce52 + 208239b commit af80fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker/build_local_image.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion docker/init_scripts/init
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit af80fe5

Please sign in to comment.