From 7a5ff7baf33ed59872ec9564ce0169c7ce629cee Mon Sep 17 00:00:00 2001 From: tavo Date: Sat, 2 Aug 2025 12:06:58 -0600 Subject: [PATCH] update --- immich/.env.example | 25 ++++++++++++++++++++++++- immich/docker-compose.yml | 12 ++++++------ immich/immich.env | 23 ----------------------- 3 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 immich/immich.env diff --git a/immich/.env.example b/immich/.env.example index cd454cc..25da1aa 100644 --- a/immich/.env.example +++ b/immich/.env.example @@ -1,4 +1,27 @@ -BASE_DATA_DIR=. TS_HOSTNAME=immich TS_AUTHKEY=tskey-client-nnn-nnn TS_EXTRA_ARGS=--advertise-tags=tag:container +BASE_DATA_DIR=${BASE_DATA_DIR:-.} + +# 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=${BASE_DATA_DIR}/immich-data/library + +# The location where your database files are stored. Network shares are not supported for the database +DB_DATA_LOCATION=${BASE_DATA_DIR}/immich-data/postgres + +# 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 + +# 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 + +# The values below this line do not need to be changed +################################################################################### +DB_USERNAME=postgres +DB_DATABASE_NAME=immich diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 944c41b..7feaf8f 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -29,10 +29,10 @@ services: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro - env_file: - - ${REPO_IMMICH_PREFIX}immich.env - # ports: - # - '2283:2283' + #env_file: + # - .env + #ports: + # - '2283:2283' depends_on: - redis - database @@ -50,8 +50,8 @@ services: # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache - env_file: - - ${REPO_IMMICH_PREFIX}immich.env + #env_file: + # - .env restart: always healthcheck: disable: false diff --git a/immich/immich.env b/immich/immich.env deleted file mode 100644 index 01676df..0000000 --- a/immich/immich.env +++ /dev/null @@ -1,23 +0,0 @@ -BASE_DATA_DIR=${BASE_DATA_DIR:-.} -# 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=${BASE_DATA_DIR}/immich-data/library - -# The location where your database files are stored. Network shares are not supported for the database -DB_DATA_LOCATION=${BASE_DATA_DIR}/immich-data/postgres - -# 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 - -# 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 - -# The values below this line do not need to be changed -################################################################################### -DB_USERNAME=postgres -DB_DATABASE_NAME=immich