plex: route host network service via traefik file

This commit is contained in:
2026-06-06 13:44:22 +02:00
parent 2a87220862
commit 7ce8e948cd
4 changed files with 27 additions and 12 deletions
-8
View File
@@ -10,14 +10,6 @@ services:
PLEX_GID: "100"
CHANGE_CONFIG_DIR_OWNERSHIP: "true"
PLEX_CLAIM: ${PLEX_CLAIM:-}
labels:
- traefik.enable=true
- traefik.http.routers.plex.rule=Host(`plex.kaleschke.info`)
- traefik.http.routers.plex.entrypoints=websecure
- traefik.http.routers.plex.tls=true
- traefik.http.routers.plex.tls.certresolver=le
- traefik.http.routers.plex.middlewares=secure-headers@file
- traefik.http.services.plex.loadbalancer.server.port=32400
volumes:
- /mnt/user/appdata/plex/config:/config
- /mnt/user/appdata/plex/transcode:/transcode