feat: update immich-server configuration with Traefik labels for routing
This commit is contained in:
parent
f0e44b472a
commit
000216e899
@ -11,8 +11,15 @@ services:
|
|||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
ports:
|
# ports:
|
||||||
- '2283:2283'
|
# - '2283:2283'
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.immich.rule=Host(`photos.castaldifamily.com`)"
|
||||||
|
- "traefik.http.routers.immich.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.immich.tls=true"
|
||||||
|
- "traefik.http.routers.immich.tls.certresolver=cloudflare"
|
||||||
|
- "traefik.http.services.immich.loadbalancer.server.port=2283"
|
||||||
depends_on:
|
depends_on:
|
||||||
- immich-redis
|
- immich-redis
|
||||||
- immich-database
|
- immich-database
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user