app-store/apps/plex/docker-compose.yml

25 lines
762 B
YAML
Raw Normal View History

2022-07-28 17:46:12 +00:00
version: "3.7"
services:
plex:
image: lscr.io/linuxserver/plex:1.28.2
2022-07-28 17:46:12 +00:00
container_name: plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
- ADVERTISE_IP=https://${APP_DOMAIN}/
2022-07-28 17:46:12 +00:00
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${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