From b24326363e0f4a6df2d705ae163c17bbfa29f5f4 Mon Sep 17 00:00:00 2001 From: Max Buz <79866323+xopek-by@users.noreply.github.com> Date: Mon, 27 Jan 2025 23:03:33 +0100 Subject: [PATCH] Changed stack.env to use macros --- immich/stack.env | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/immich/stack.env b/immich/stack.env index 9ad3af3..4468118 100644 --- a/immich/stack.env +++ b/immich/stack.env @@ -1,21 +1,21 @@ # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables # The location where your uploaded files are stored -UPLOAD_LOCATION=./library +UPLOAD_LOCATION=${UPLOAD_LOCATION} # The location where your database files are stored -DB_DATA_LOCATION=./postgres +DB_DATA_LOCATION=${DB_DATA_LOCATION} # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List # TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" -IMMICH_VERSION=release +IMMICH_VERSION=${IMMICH_VERSION:-release} # Connection secret for postgres. You should change it to a random password # Please use only the characters `A-Za-z0-9`, without special characters or spaces -DB_PASSWORD=postgres +DB_PASSWORD=${DB_PASSWORD} # The values below this line do not need to be changed ################################################################################### -DB_USERNAME=postgres -DB_DATABASE_NAME=immich +DB_USERNAME=${DB_USERNAME} +DB_DATABASE_NAME=${DB_DATABASE_NAME}