From ed594c19871ba04024fb46a8cd615f5a81b06a70 Mon Sep 17 00:00:00 2001 From: abhi-chakrab <112197661+abhi-chakrab@users.noreply.github.com> Date: Sat, 15 Jul 2023 09:30:52 -0600 Subject: [PATCH] Update start.sh (#3282) Adding ability to use docker secrets file for REDIS_PASSWORD --- server/start.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/start.sh b/server/start.sh index c0825dd519..4d1bc9a78b 100755 --- a/server/start.sh +++ b/server/start.sh @@ -20,4 +20,9 @@ if [ "$DB_PASSWORD_FILE" ]; then unset DB_PASSWORD_FILE fi +if [ "$REDIS_PASSWORD_FILE" ]; then + export REDIS_PASSWORD=$(cat $REDIS_PASSWORD_FILE) + unset REDIS_PASSWORD_FILE +fi + exec node dist/main $1