chore: fix redis host binding
This commit is contained in:
parent
4db0aef0ff
commit
a0c8f40e7b
2 changed files with 5 additions and 3 deletions
|
@ -57,11 +57,11 @@ if [ -z "$REDIS_PORT" ]; then
|
|||
fi
|
||||
|
||||
if [ -z "$REDIS_HOST" ]; then
|
||||
export REDIS_URL="redis://cache"
|
||||
else
|
||||
export REDIS_URL="redis://$REDIS_HOST"
|
||||
export REDIS_HOST="cache"
|
||||
fi
|
||||
|
||||
export REDIS_URL="redis://$REDIS_HOST"
|
||||
|
||||
##########
|
||||
# SHARED #
|
||||
##########
|
||||
|
|
|
@ -26,3 +26,5 @@ tail $LOGS_PATH/*.err
|
|||
|
||||
echo "# Logs:"
|
||||
tail $LOGS_PATH/*.log
|
||||
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue