plex: expose via traefik domain
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user