media-server-docker-compose/plex/docker-compose.yml

41 lines
972 B
YAML
Raw Permalink Normal View History

2024-04-28 01:43:53 -04:00
services:
plex:
image: plexinc/pms-docker:latest
container_name: plex
environment:
- PUID=${UID}
- PGID=${GID}
- TZ=${TZ}
- VIRTUAL_HOST=plex.${DOMAIN}
- VERSION=docker
- PLEX_CLAIM=${PLEX_CLAIM}
volumes:
- ${CONFIG_LOCATION}/plex:/config
- ${DATA_LOCATION}/TV:/tv
- ${DATA_LOCATION}/Movies:/movies
- ${DATA_LOCATION}/Music:/music
expose:
- "32400"
ports:
- 32400:32400
restart: unless-stopped
tautulli:
image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- VIRTUAL_HOST=tautulli.${DOMAIN},plex-stats.${DOMAIN}
- LETSENCRYPT_HOST=tautulli.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
volumes:
- ${CONFIG_LOCATION}/tautulli:/config
ports:
- 8181:8181
restart: unless-stopped
networks:
default:
name: nginx-proxy
external: true