2022-07-28 17:46:12 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
plex:
|
2022-10-13 22:10:41 +00:00
|
|
|
image: lscr.io/linuxserver/plex:1.29.0
|
2022-07-28 17:46:12 +00:00
|
|
|
container_name: plex
|
|
|
|
network_mode: host
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- VERSION=docker
|
2022-09-09 20:43:41 +00:00
|
|
|
- ADVERTISE_IP=${APP_PROTOCOL:-http}://${APP_DOMAIN}/
|
2022-07-28 17:46:12 +00:00
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/config:/config
|
2022-09-09 19:30:14 +00:00
|
|
|
- ${APP_DATA_DIR}/data/transcode:/transcode
|
2022-07-28 17:46:12 +00:00
|
|
|
- ${ROOT_FOLDER_HOST}/media/data:/media
|
|
|
|
restart: unless-stopped
|
2022-09-07 19:18:41 +00:00
|
|
|
labels:
|
|
|
|
traefik.enable: ${APP_EXPOSED}
|
|
|
|
traefik.http.routers.plex.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.plex.entrypoints: websecure
|
|
|
|
traefik.http.routers.plex.service: plex
|
|
|
|
traefik.http.routers.plex.tls.certresolver: myresolver
|
|
|
|
traefik.http.services.plex.loadbalancer.server.port: 32400
|