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:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
@@ -32,7 +30,7 @@ services:
disable: false
networks:
- default
- traefik
- traefik-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.immich.rule=Host(`${DOMAIN}`)"
@@ -40,7 +38,6 @@ services:
- "traefik.http.routers.immich.tls=true"
- "traefik.http.routers.immich.tls.certresolver=letsencrypt"
- "traefik.http.services.immich.loadbalancer.server.port=2283"
- "traefik.docker.network=traefik"
immich-machine-learning:
container_name: immich_machine_learning
@@ -82,7 +79,7 @@ services:
restart: always
networks:
traefik:
traefik-net:
external: true
volumes: