Add Plex service configuration to Docker Compose
This commit is contained in:
parent
1311e97dc9
commit
0a7b4ba191
32
nodes/waldorf/plex/compose.yaml
Normal file
32
nodes/waldorf/plex/compose.yaml
Normal file
@ -0,0 +1,32 @@
|
||||
services:
|
||||
plex:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/New_York
|
||||
- VERSION=docker
|
||||
- PLEX_CLAIM=claim-sxFpsPTDzzF-9RZAxtUL
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
||||
volumes:
|
||||
- /mnt/appdata/plex:/config
|
||||
- /mnt/media/tvshows:/tv
|
||||
- /mnt/media/movies:/movies
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.plex.entrypoints=websecure"
|
||||
- "traefik.http.routers.plex.rule=Host(`plex.castaldifamily.com`)"
|
||||
- "traefik.http.routers.plex.tls=true"
|
||||
- "traefik.http.routers.plex.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.plex.loadbalancer.server.port=32400"
|
||||
Loading…
x
Reference in New Issue
Block a user