Update docker-compose.yml

added traefik labels and network
This commit is contained in:
2026-05-28 00:25:11 -05:00
parent ddd26a588f
commit 6a637f610b
+2 -1
View File
@@ -17,7 +17,7 @@ services:
labels: labels:
- "com.centurylinklabs.watchtower.monitor-only=true" - "com.centurylinklabs.watchtower.monitor-only=true"
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.immich.rule=Host(`immich.yourdomain.com`)" - "traefik.http.routers.immich.rule=Host(`photos.speerfam.net`)"
- "traefik.http.routers.immich.entrypoints=websecure" - "traefik.http.routers.immich.entrypoints=websecure"
- "traefik.http.routers.immich.tls.certresolver=myresolver" - "traefik.http.routers.immich.tls.certresolver=myresolver"
@@ -42,6 +42,7 @@ services:
restart: always restart: always
healthcheck: healthcheck:
disable: false disable: false
networks:
traefik-public: traefik-public:
external: true external: true