From 6975a458404842b69e4b0f10818929f7cc4c0c3a Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Fri, 3 Jan 2025 17:54:56 -0500 Subject: [PATCH] chore(immich): Update Immich to 1.123.0 --- immich/docker-compose.yml | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 4bddc99..0a6fc3b 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -1,7 +1,7 @@ services: immich-server: container_name: immich_server - image: ghcr.io/immich-app/immich-server:v1.120.2 + image: ghcr.io/immich-app/immich-server:v1.123.0 environment: DB_HOSTNAME: immich_postgres DB_PASSWORD: ${IMMICH_DB_PASSWORD} @@ -37,7 +37,7 @@ services: immich-machine-learning: container_name: immich_machine_learning - image: ghcr.io/immich-app/immich-machine-learning:v1.120.2 + image: ghcr.io/immich-app/immich-machine-learning:v1.123.0 volumes: - immich-model-cache:/cache restart: always @@ -46,7 +46,7 @@ services: immich-redis: container_name: immich_redis - image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e + image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 restart: always healthcheck: test: redis-cli ping || exit 1 @@ -65,26 +65,23 @@ services: - ${CONFIG_ROOT:-.}/immich/postgresql:/var/lib/postgresql/data restart: always healthcheck: - test: pg_isready --dbname=immich --username=postgres || exit 1; Chksum="$$(psql --dbname=immich --username=postgres --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1 + test: >- + pg_isready --dbname=immich --username=postgres || exit 1; + Chksum="$$(psql --dbname=immich --username=postgres --tuples-only --no-align + --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; + echo "checksum failure count is $$Chksum"; + [ "$$Chksum" = '0' ] || exit 1 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 profiles: - immich