From 31158e234045d1927449c4a6ae9d3b2308e9bdf6 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 14 Jul 2026 11:19:38 -0600 Subject: [PATCH] fix(immich): update to v3.0.2 Co-Authored-By: Claude Fable 5 --- blueprints/immich/docker-compose.yml | 50 ++++++---------------------- blueprints/immich/meta.json | 2 +- blueprints/immich/template.toml | 3 -- 3 files changed, 12 insertions(+), 43 deletions(-) diff --git a/blueprints/immich/docker-compose.yml b/blueprints/immich/docker-compose.yml index f385b329..822117ca 100644 --- a/blueprints/immich/docker-compose.yml +++ b/blueprints/immich/docker-compose.yml @@ -2,10 +2,10 @@ version: "3.9" services: immich-server: - image: ghcr.io/immich-app/immich-server:v2.1.0 + image: ghcr.io/immich-app/immich-server:v3.0.2 volumes: - - immich-library:/usr/src/app/upload + - immich-library:/data - /etc/localtime:/etc/localtime:ro depends_on: immich-redis: @@ -13,9 +13,6 @@ services: immich-database: condition: service_healthy environment: - PORT: 2283 - SERVER_URL: ${SERVER_URL} - FRONT_BASE_URL: ${FRONT_BASE_URL} # Database Configuration DB_HOSTNAME: ${DB_HOSTNAME} DB_PORT: ${DB_PORT} @@ -30,70 +27,45 @@ services: TZ: ${TZ} restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:2283/server-info/ping"] - interval: 30s - timeout: 10s - retries: 3 + disable: false immich-machine-learning: - image: ghcr.io/immich-app/immich-machine-learning:v2.1.0 + image: ghcr.io/immich-app/immich-machine-learning:v3.0.2 volumes: - immich-model-cache:/cache - environment: - REDIS_HOSTNAME: ${REDIS_HOSTNAME} - REDIS_PORT: ${REDIS_PORT} - REDIS_DBINDEX: ${REDIS_DBINDEX} restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:3003/ping"] - interval: 30s - timeout: 10s - retries: 3 + disable: false immich-redis: - image: redis:6.2-alpine + image: valkey/valkey:9 volumes: - immich-redis-data:/data healthcheck: - test: ["CMD", "redis-cli", "ping"] + test: redis-cli ping || exit 1 interval: 10s timeout: 5s retries: 5 restart: unless-stopped immich-database: - image: tensorchord/pgvecto-rs:pg14-v0.3.0 + image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 volumes: - immich-postgres:/var/lib/postgresql/data environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} - POSTGRES_DB: immich + POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' + shm_size: 128mb healthcheck: - test: pg_isready -U ${DB_USERNAME} -d immich || exit 1 + test: pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE_NAME} || exit 1 interval: 10s timeout: 5s retries: 5 - 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 volumes: diff --git a/blueprints/immich/meta.json b/blueprints/immich/meta.json index bc3ecb6b..cf1aa634 100644 --- a/blueprints/immich/meta.json +++ b/blueprints/immich/meta.json @@ -1,7 +1,7 @@ { "id": "immich", "name": "Immich", - "version": "v1.121.0", + "version": "v3.0.2", "description": "High performance self-hosted photo and video backup solution directly from your mobile phone.", "logo": "immich.svg", "links": { diff --git a/blueprints/immich/template.toml b/blueprints/immich/template.toml index f2b910e7..a18ac2bb 100644 --- a/blueprints/immich/template.toml +++ b/blueprints/immich/template.toml @@ -5,9 +5,6 @@ db_user = "immich" [config] env = [ - "IMMICH_HOST=${main_domain}", - "SERVER_URL=https://${main_domain}", - "FRONT_BASE_URL=https://${main_domain}", "DB_HOSTNAME=immich-database", "DB_PORT=5432", "DB_USERNAME=${db_user}",