From 92bf18cfa827b8388fd3fe05adc1863bc3794287 Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Wed, 16 Oct 2024 20:34:13 +0800 Subject: [PATCH] chore: update immich to v1.118.1 (#596) --- Apps/Immich/docker-compose.yml | 37 ++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/Apps/Immich/docker-compose.yml b/Apps/Immich/docker-compose.yml index 8672b84e..1ad8e610 100644 --- a/Apps/Immich/docker-compose.yml +++ b/Apps/Immich/docker-compose.yml @@ -8,19 +8,19 @@ services: memory: 1024M container_name: immich-server hostname: immich-server - image: altran1502/immich-server:v1.115.0 + image: altran1502/immich-server:v1.118.1 volumes: - /DATA/Gallery/immich:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro environment: - - DB_DATABASE_NAME=immich - - DB_PASSWORD=postgres - - DB_USERNAME=postgres + DB_DATABASE_NAME: immich + DB_PASSWORD: postgres + DB_USERNAME: postgres + ports: + - '2283:2283' depends_on: - redis - database - ports: - - 2283:3001 restart: unless-stopped healthcheck: disable: false @@ -30,11 +30,11 @@ services: immich-machine-learning: container_name: immich-machine-learning hostname: immich-machine-learning - image: altran1502/immich-machine-learning:v1.115.0 + image: altran1502/immich-machine-learning:v1.118.1 environment: - - DB_DATABASE_NAME=immich - - DB_PASSWORD=postgres - - DB_USERNAME=postgres + DB_DATABASE_NAME: immich + DB_PASSWORD: postgres + DB_USERNAME: postgres restart: unless-stopped volumes: - /DATA/AppData/immich/model-cache:/cache @@ -71,7 +71,22 @@ services: interval: 5m start_interval: 30s start_period: 5m - command: ["postgres", "-c", "shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"] + command: + [ + 'postgres', + '-c', + 'shared_preload_libraries=vectors.so', + '-c', + 'search_path="$$user", public, vectors', + '-c', + 'logging_collector=on', + '-c', + 'max_wal_size=2GB', + '-c', + 'shared_buffers=512MB', + '-c', + 'wal_compression=on', + ] restart: unless-stopped networks: - immich