Docker Compose
Copy the code below and add to your compose file. Adjust the file paths to match your storage.
services:
plex:
image: lscr.io/linuxserver/plex:latest
container_name: Plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
devices:
- /dev/dri:/dev/dri
volumes:
- /dev/shm:/transcode
- /Config/Plex:/config
- /path-to-movies/Movies:/movies
- /path-to-series/TV:/tv
- /path-to-music/Music:/music
restart: unless-stopped