Automated media download and management setup for Synology NAS (and other systems).
This Docker Compose stack provides a complete automated media management solution with the following services:
- SABnzbd - Usenet downloader
- Sonarr - TV series automation and management (with SMA integration)
- Radarr - Movie automation and management (with SMA integration)
- Bazarr - Subtitle download automation
- Plex - Media streaming server
All credit for the fantastic Sickbeard MP4 Automator (SMA) integration goes to mdhiggins.
- ✅ Automated TV show and movie downloads
- ✅ Automatic media transcoding via SMA
- ✅ Subtitle automation
- ✅ Plex media server integration
- ✅ Easy configuration via Docker Compose
- ✅ Optimized for Synology NAS
- Docker and Docker Compose installed on your system
- Access to Usenet providers (for SABnzbd)
- Storage volumes for media (TV shows, movies) and downloads
git clone https://github.com/onero/docker-automated-media.git
cd docker-automated-mediaEdit docker-compose.yml and update the volume mappings for your setup:
# Example: Replace these paths with your actual directories
- /volume1/Series:/tv # Your TV shows folder
- /volume1/Movies:/movies # Your movies folder
- /volume1/Downloads/complete:/downloads # Download destinationDefault paths (Synology):
- TV Shows:
/volume1/Series - Movies:
/volume1/Movies - Downloads:
/volume1/Downloads/complete - Incomplete Downloads:
/volume1/Downloads/incomplete
Update the user and group IDs in docker-compose.yml:
x-common-variables: &common-variables
PUID: 0 # Change to your user ID
PGID: 0 # Change to your group ID
TZ: Europe/Prague # Change to your timezoneTip: Run
idin terminal to find your user and group IDs.
Copy the sample configuration file:
cp config/autoProcess.ini.sample config/autoProcess.iniEdit config/autoProcess.ini and configure your preferred settings. Key sections to review:
- [Converter] - FFmpeg settings and output format
- [Video] - Video codec preferences
- [Audio] - Audio codec and language settings
Get your Plex claim token from plex.tv/claim and update it in docker-compose.yml:
PLEX_CLAIM: claim-<your-claim-token>
HOSTNAME: 'AdaminoFlix' # Change to your preferred nameDefault ports (ensure they don't conflict with existing services):
- SABnzbd:
8080 - Sonarr:
8989 - Radarr:
7878 - Bazarr:
6767 - Plex:
32400
Start all services:
docker-compose up -dCheck service status:
docker-compose psView logs:
docker-compose logs -f- Access SABnzbd at
http://your-ip:8080 - Complete the setup wizard
- Configure your Usenet provider
- Set download directories
- Access Sonarr at
http://your-ip:8989 - Go to Settings → General → API Key
- Copy the API key
- Edit
config/autoProcess.iniand add the key to the[Sonarr]section:[Sonarr] apikey = your-api-key-here
- Configure download client (SABnzbd)
- Add your TV show root folder (
/tv)
- Access Radarr at
http://your-ip:7878 - Go to Settings → General → API Key
- Copy the API key
- Edit
config/autoProcess.iniand add the key to the[Radarr]section:[Radarr] apikey = your-api-key-here
- Configure download client (SABnzbd)
- Add your movie root folder (
/movies)
- Access Bazarr at
http://your-ip:6767 - Connect to Sonarr and Radarr using their API keys
- Configure subtitle providers
- Set subtitle languages
- Access Plex at
http://your-ip:32400/web - Sign in with your Plex account
- Add libraries for TV shows (
/tv) and movies (/movies)
docker-compose pull
docker-compose up -ddocker-compose down./show-conversion-log.shdocker-compose restart sonarr- Ensure PUID and PGID match the user who owns the media directories
- Check folder permissions:
chmod -R 755 /volume1/Series /volume1/Movies
- Verify
autoProcess.inihas correct API keys - Check that the config volume is properly mounted
- Review container logs:
docker-compose logs sonarrordocker-compose logs radarr
- Change port mappings in docker-compose.yml if needed
- Format:
host-port:container-port
.
├── docker-compose.yml # Main compose configuration
├── config/
│ ├── autoProcess.ini.sample # SMA configuration template
│ └── autoProcess.ini # Your SMA configuration (create this)
├── show-conversion-log.sh # Helper script to view conversion logs
├── sabnzbd-data/ # SABnzbd config (auto-created)
├── sonarr-data/ # Sonarr config (auto-created)
├── radarr-data/ # Radarr config (auto-created)
├── bazarr-data/ # Bazarr config (auto-created)
└── plex-data/ # Plex config (auto-created)
Feel free to submit issues and pull requests to improve this setup!
- Sickbeard MP4 Automator by mdhiggins
- LinuxServer.io for Docker images
See LICENSE file for details.