iac/docker/plex/docker-compose.yml
Matt Reeves b95716d38b
Some checks failed
OpenTofu Automation / deploy (push) Failing after 13s
turn off windows, update Plex
2025-01-09 22:14:58 -05:00

28 lines
No EOL
666 B
YAML

services:
plex:
image: ghcr.io/linuxserver/plex@sha256:dda062ebde8c619a656f7ed6e6da7885ca7e114536c1e76b1de3e32a57d3597b
container_name: plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- VERSION=docker
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /docker/appdata/plex/library:/config
- nas:/data/media
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
volumes:
nas:
driver: local
driver_opts:
type: nfs
o: addr=nas.lan,vers=4,ro
device: ":/mnt/thePool/thePoolShare/Media"