This repository has been archived on 2025-03-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
iac/docker/plex/docker-compose.yml

28 lines
667 B
YAML

services:
plex:
image: ghcr.io/linuxserver/plex@sha256:a0a83cc0f305e92d3885fb2b414c7299606427358bb2f0b38d20e0c3e3eeb094
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"