This commit is contained in:
Alexandre
2024-08-30 13:23:20 +02:00
committed by GitHub
parent ce58df5068
commit b42ad692ae
11 changed files with 23 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ export IMMICH_MEDIA_LOCATION="$DATA_LOCATION"
if [ -d /var/run/s6/container_environment ]; then
printf "%s" "$DATA_LOCATION" > /var/run/s6/container_environment/IMMICH_MEDIA_LOCATION
fi
printf "%s" "IMMICH_MEDIA_LOCATION=\"$DATA_LOCATION\"" >> ~/.bashrc
printf "%s\n" "IMMICH_MEDIA_LOCATION=\"$DATA_LOCATION\"" >> ~/.bashrc
echo "... check $DATA_LOCATION folder exists"
mkdir -p "$DATA_LOCATION"

View File

@@ -83,12 +83,12 @@ if [ -d /var/run/s6/container_environment ]; then
fi
{
printf "%s" "DB_USERNAME=\"$DB_USERNAME\""
printf "%s" "DB_PASSWORD=\"$DB_PASSWORD\""
printf "%s" "DB_DATABASE_NAME=\"$DB_DATABASE_NAME\""
printf "%s" "DB_PORT=\"$DB_PORT\""
printf "%s" "DB_HOSTNAME=\"$DB_HOSTNAME\""
printf "%s" "JWT_SECRET=\"$JWT_SECRET\""
printf "%s\n" "DB_USERNAME=\"$DB_USERNAME\""
printf "%s\n" "DB_PASSWORD=\"$DB_PASSWORD\""
printf "%s\n" "DB_DATABASE_NAME=\"$DB_DATABASE_NAME\""
printf "%s\n" "DB_PORT=\"$DB_PORT\""
printf "%s\n" "DB_HOSTNAME=\"$DB_HOSTNAME\""
printf "%s\n"n" "JWT_SECRET=\"$JWT_SECRET\""
} >> ~/.bashrc
###################