From 8367a6e0f9ec44bc5f844a78a6bf0f2762e3bcbc Mon Sep 17 00:00:00 2001 From: BeauTroll <-> Date: Sun, 4 Jan 2026 08:09:20 +0100 Subject: [PATCH] Fix Traefik integration and network configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add default network to immich-server for database/redis communication - Fix Traefik loadbalancer port from 3001 to 2283 (correct Immich port) - Enable HDD storage type for PostgreSQL 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6e04903..9cf4fff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,7 @@ services: healthcheck: disable: false networks: + - default - traefik labels: - "traefik.enable=true" @@ -38,7 +39,7 @@ services: - "traefik.http.routers.immich.entrypoints=websecure" - "traefik.http.routers.immich.tls=true" - "traefik.http.routers.immich.tls.certresolver=letsencrypt" - - "traefik.http.services.immich.loadbalancer.server.port=3001" + - "traefik.http.services.immich.loadbalancer.server.port=2283" - "traefik.docker.network=traefik" immich-machine-learning: @@ -71,9 +72,9 @@ services: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} - POSTGRES_INITDB_ARGS: '--data-checksums' + POSTGRES_INITDB_ARGS: "--data-checksums" # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs - # DB_STORAGE_TYPE: 'HDD' + DB_STORAGE_TYPE: "HDD" 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