mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-08 20:29:05 +00:00
fix: load env files for cli (#3503)
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$DB_URL_FILE" ]; then
|
||||
export DB_URL=$(cat $DB_URL_FILE)
|
||||
unset DB_URL_FILE
|
||||
fi
|
||||
|
||||
if [ "$DB_HOSTNAME_FILE" ]; then
|
||||
export DB_HOSTNAME=$(cat $DB_HOSTNAME_FILE)
|
||||
unset DB_HOSTNAME_FILE
|
||||
|
||||
Reference in New Issue
Block a user