Skip to content

Instantly share code, notes, and snippets.

@recklessop
Created October 11, 2022 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recklessop/a15ba4628a87972100dcf8d70965d055 to your computer and use it in GitHub Desktop.
Save recklessop/a15ba4628a87972100dcf8d70965d055 to your computer and use it in GitHub Desktop.
---
version: "2.1"
services:
plex:
image: linuxserver/plex
container_name: plex
#devices:
# - "/dev/dri:/dev/dri"
environment:
- NVIDIA_VISIBLE_DEVICES=all
- PLEX_CLAIM=claim-51234-123-4123123123
- PUID=1000
- PGID=1000
- VERSION=docker
- UMASK_SET=022 #optional
- ADVERTISE_IP="http://10.10.1.5:32400/"
volumes:
- /home/justin/stack/plex/config:/config
- /home/justin/stack/plex/transcode:/transcode
- "/tank3t:/nfs"
#- "/home/justin/plex/xteve/data:/xmltv"
#- "/home/justin/plex/xmltv:/xml"
restart: unless-stopped
ports:
- 32400:32400
- 1900:1900/udp
- 3005:3005
- 5353:5353/udp
- 8324:8324
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
- 32469:32469
#volumes:
# nfs-tank:
# driver: local
# driver_opts:
# type: nfs
# o: nfsvers=4,addr=10.10.1.169,rw
# device: ":/tank3t"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment