A streamlined Docker setup for Plex Media Server with block storage support.
- Docker-based Plex Media Server
- Block storage support for media files
- Automated setup script
- Proper permissions handling
- Easy updates and maintenance
- Ubuntu 22.04 LTS
- Docker installed
- Git installed
- Block storage attached to server
-
Prepare Block Storage
# Check your block storage device lsblkLook for your block storage (usually
/dev/vdcon Vultr) -
Clone & Setup
git clone https://github.com/joereg4/plex-docker-setup.git cd plex-docker-setup chmod +x scripts/setup/*.sh sudo ./scripts/setup/setup_plex.sh
-
Configure Plex
- Access Plex at
http://YOUR_SERVER_IP:32400/web - Sign in with your Plex account
- Add libraries using these paths:
- Movies:
/data/Movies - TV Shows:
/data/TV Shows - Music:
/data/Music - Photos:
/data/Photos
- Movies:
- Access Plex at
- Setup Guide - Detailed installation instructions
- Domain Setup - Configure custom domain
- Troubleshooting - Common issues and solutions
/mnt/blockstore/plex/media/ # Media storage
├── Movies
├── TV Shows
├── Music
└── Photos
/opt/plex/ # Plex configuration
├── database
└── transcode
- Update Plex:
docker-compose pull && docker-compose up -d - Check Logs:
docker-compose logs plex - Restart Plex:
docker-compose restart plex
Contributions are welcome! Please read our Contributing Guide.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues:
- Check the Troubleshooting Guide
- Open an issue on GitHub
- Provide logs and system information