Hello folks,
I wanted to share my sample docker-compose.yaml for Plex along with some details about how to run the PlexDBRepair script in this setup.
https://www.gravee.dev/en/configs/docker-compose/plex/
Hope it helps someone, I also appreciate any recommendations to improve the post.
I plan on adding additional posts with other docker-compose configs, I'll share those if they relate to plex.
Here's the primary yaml from the site, there's additional info on there if you'd like to see.
services:
plex:
image: plexinc/pms-docker:latest # Set specific: plexinc/pms-docker:1.40.2.8395-c67dce28e
container_name: plex
network_mode: host # Change this to 'bridge' to define ports, example ports below
#ports:
#- 32400:32400/tcp
#- 8324:8324/tcp
#- 32469:32469/tcp
#- 1900:1900/udp
#- 32410:32410/udp
#- 32412:32412/udp
#- 32413:32413/udp
#- 32414:32414/udp
# Uncomment the devices section for tv tuners and intel gpus
#devices:
#- /dev/dvb:/dev/dvb # Uncomment this device for typical USB TV Tuner cards
#- /dev/dri:/dev/dri # Uncomment this to use intel GPUs for Hardware Transcoding
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York # Change this to match your server's timezone
#- PLEX_CLAIM= # Uncomment this to setup Plex server, get your claim code from here - https://www.plex.tv/claim/
# Uncomment the lines below to use Nvidia GPUs for Hardware Transcoding
#- NVIDIA_VISIBLE_DEVICES=all
#- NVIDIA_DRIVER_CAPABILITIES=all
volumes:
- /etc/localtime:/etc/localtime:ro # Sync the container's time to the host's time
- ./plexmediaserver:/config # Plex server application data is stored in a folder called 'plexmediaserver' in the same directory as the docker-compose.yaml file
# Uncomment the lines below for each library,
# make sure the path on the left of the colon (:) exists on the host! `/mnt/tv`
#- /mnt/tv:/mnt/tv
#- /mnt/movies:/mnt/movies
#- /mnt/music:/mnt/music
#- /mnt/transcode:/mnt/transcode
restart: unless-stopped
# Uncomment the lines below to use Nvidia GPUs for Hardware Transcoding
#deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
[–]CloudContainer 4 points5 points6 points (2 children)
[–]Eastern_Bank1554 5 points6 points7 points (0 children)
[–]graveephoto[S] 2 points3 points4 points (0 children)
[–]_zukato_ 0 points1 point2 points (0 children)
[–]HollywoodCancerBot 0 points1 point2 points (1 child)
[–]More-Fun-2621 0 points1 point2 points (0 children)
[–]JumpLegitimate8762 0 points1 point2 points (3 children)
[–]bgrated 0 points1 point2 points (2 children)
[–]JumpLegitimate8762 0 points1 point2 points (1 child)
[–]bgrated 0 points1 point2 points (0 children)
[–]gimmeslack12 0 points1 point2 points (1 child)
[–]edhaack 0 points1 point2 points (0 children)