From 522383945c04d3b55a4c8812ce7c6c81157aa7ae Mon Sep 17 00:00:00 2001 From: dado Date: Sat, 26 Jul 2025 14:56:39 +0200 Subject: [PATCH] update immich --- immich/.env | 6 ++---- immich/docker-compose.yml | 8 ++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/immich/.env b/immich/.env index 80623e2..3af7f2b 100644 --- a/immich/.env +++ b/immich/.env @@ -1,12 +1,10 @@ # 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=/etc/novemila/immich/library +UPLOAD_LOCATION=./library # The location where your database files are stored. Network shares are not supported for the database -#DB_DATA_LOCATION=./postgres -DB_DATA_LOCATION=/etc/novemila/immich/postgres +DB_DATA_LOCATION=./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=Europe/Rome diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 7a2e7a8..44e98f1 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -44,7 +44,7 @@ services: redis: container_name: immich_redis - image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884 + image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11 mem_limit: 128m labels: - "com.centurylinklabs.watchtower.enable=false" @@ -56,8 +56,10 @@ services: database: container_name: immich_postgres - image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 + image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:5f6a838e4e44c8e0e019d0ebfe3ee8952b69afc2809b2c25f7b0119641978e91 mem_limit: 512m + labels: + - "com.centurylinklabs.watchtower.enable=false" environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} @@ -66,6 +68,8 @@ services: volumes: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data + shm_size: 128mb + restart: always volumes: model-cache: \ No newline at end of file