mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 00:47:50 +01:00
add : in front of password for ioredis
This commit is contained in:
parent
e3ee1a37ca
commit
056620b4dc
@ -27,7 +27,7 @@ if [[ -n $POSTHOG_DB_NAME ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $REDIS_URL ]]; then
|
if [[ -z $REDIS_URL ]]; then
|
||||||
[[ -n $POSTHOG_REDIS_PASSWORD ]] && REDIS_PASSWORD_COMPONENT="$POSTHOG_REDIS_PASSWORD@"
|
[[ -n $POSTHOG_REDIS_PASSWORD ]] && REDIS_PASSWORD_COMPONENT=":$POSTHOG_REDIS_PASSWORD@"
|
||||||
export REDIS_URL="redis://${REDIS_PASSWORD_COMPONENT}${POSTHOG_REDIS_HOST:-"localhost"}:${POSTHOG_REDIS_PORT:-"6379"}/"
|
export REDIS_URL="redis://${REDIS_PASSWORD_COMPONENT}${POSTHOG_REDIS_HOST:-"localhost"}:${POSTHOG_REDIS_PORT:-"6379"}/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user