Update docker-compose.yml
added traefik labels and network
This commit is contained in:
+2
-1
@@ -17,7 +17,7 @@ services:
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.monitor-only=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.tls.certresolver=myresolver"
|
||||
|
||||
@@ -42,6 +42,7 @@ services:
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user