fix(immich): add label "traefik.docker.network=proxy" to stabilize Traefik redirect

This commit is contained in:
Anton Shubin 2024-01-31 13:35:41 +08:00
parent c57f6720d2
commit 832c72b573

View File

@ -40,6 +40,7 @@ services:
- no-new-privileges:true - no-new-privileges:true
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.immich.rule=Host(`${HOSTNAME_PHOTOS}`)" - "traefik.http.routers.immich.rule=Host(`${HOSTNAME_PHOTOS}`)"
- "traefik.http.routers.immich.entrypoints=websecure" - "traefik.http.routers.immich.entrypoints=websecure"
- "traefik.http.routers.immich.tls=true" - "traefik.http.routers.immich.tls=true"