mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 23:44:11 +01:00
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user