plex: expose via traefik domain

This commit is contained in:
2026-06-06 13:41:39 +02:00
parent f2d4cad566
commit 2a87220862
6 changed files with 20 additions and 7 deletions
+8
View File
@@ -10,6 +10,14 @@ 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