chore: fix redis host binding

This commit is contained in:
Karol Sójko 2023-02-07 07:51:53 +01:00
parent 4db0aef0ff
commit a0c8f40e7b
No known key found for this signature in database
GPG key ID: D966F68E8A92F649
2 changed files with 5 additions and 3 deletions

View file

@ -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 #
##########

View file

@ -26,3 +26,5 @@ tail $LOGS_PATH/*.err
echo "# Logs:"
tail $LOGS_PATH/*.log
exit 1