Fix network name to match existing Traefik configuration

- Change network from 'traefik' to 'traefik-net' to match host Traefik setup
- Remove redundant traefik.docker.network label
- Remove duplicate warning comment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
BeauTroll
2026-01-04 08:24:20 +01:00
parent 8367a6e0f9
commit cf3e7bea9b

View File

@@ -1,6 +1,4 @@
# #
# WARNING: To install Immich, follow our guide: https://docs.immich.app/install/docker-compose
#
# Make sure to use the docker-compose.yml of the current release: # Make sure to use the docker-compose.yml of the current release:
# #
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
@@ -32,7 +30,7 @@ services:
disable: false disable: false
networks: networks:
- default - default
- traefik - traefik-net
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.immich.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.immich.rule=Host(`${DOMAIN}`)"
@@ -40,7 +38,6 @@ services:
- "traefik.http.routers.immich.tls=true" - "traefik.http.routers.immich.tls=true"
- "traefik.http.routers.immich.tls.certresolver=letsencrypt" - "traefik.http.routers.immich.tls.certresolver=letsencrypt"
- "traefik.http.services.immich.loadbalancer.server.port=2283" - "traefik.http.services.immich.loadbalancer.server.port=2283"
- "traefik.docker.network=traefik"
immich-machine-learning: immich-machine-learning:
container_name: immich_machine_learning container_name: immich_machine_learning
@@ -82,7 +79,7 @@ services:
restart: always restart: always
networks: networks:
traefik: traefik-net:
external: true external: true
volumes: volumes: