mirror of
https://github.com/immich-app/immich.git
synced 2024-12-22 01:47:08 +02:00
Update start.sh (#3282)
Adding ability to use docker secrets file for REDIS_PASSWORD
This commit is contained in:
parent
ab85dd9fa8
commit
ed594c1987
@ -20,4 +20,9 @@ if [ "$DB_PASSWORD_FILE" ]; then
|
|||||||
unset DB_PASSWORD_FILE
|
unset DB_PASSWORD_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$REDIS_PASSWORD_FILE" ]; then
|
||||||
|
export REDIS_PASSWORD=$(cat $REDIS_PASSWORD_FILE)
|
||||||
|
unset REDIS_PASSWORD_FILE
|
||||||
|
fi
|
||||||
|
|
||||||
exec node dist/main $1
|
exec node dist/main $1
|
||||||
|
Loading…
Reference in New Issue
Block a user