Duplex simplifies Plex Media Server management on Synology NAS by providing a Docker Compose configuration with essential tools and utilities.
The docker-compose.yml
file in this repository configures Docker containers for managing a Plex Media Server on a Synology NAS. It includes tools for metadata management, photo cleaning, monitoring, and automated updates.
For more details on the Docker Compose configuration, refer to the docker-compose.yml file in this repository.
Tool | Description | More Info |
---|---|---|
Kometa โจ | Manages Plex Media Server metadata. | Kometa Info |
ImageMaid ๐งผ | Cleans Plex Media Server photos. | ImageMaid Info |
Overlay Reset ๐งน | Removes all overlays placed on a Plex Library. | Kometa Overlay Reset Info |
PATTRMM ๐ | Schedule and run media processing tasks. | PATTRMM GitHub |
Tautulli ๐ | Monitors and tracks Plex Media Server usage. | Tautulli GitHub |
Notifiarr ๐ | Provides notifications for various media server activities. | Notifiarr GitHub |
Watchtower ๐ ๏ธ | Automatically updates Docker container base images. | Watchtower GitHub |
Follow these steps to start the Duplex service stack:
-
Clone this repository to your Synology NAS, including the submodules.
git clone --recurse-submodules https://github.com/yourusername/duplex.git
-
Navigate to the directory containing the
docker-compose.yml
file. -
Open a terminal or SSH into your Synology NAS.
-
Run
docker-compose up -d
to start the containers in detached mode. -
Access the services through their respective endpoints.
-
Configure services to connect to Plex using the gateway IP address of the Docker bridge network. Find this IP in
Container Manager -> Network
for DSM 7.2 and above.
The configurations for the main Docker Compose file, ImageMaid, and Overlay Reset are managed using .env
files. The example.env
files can be copied to .env
and updated to change the behavior.
- Main Docker Compose: example.env
- ImageMaid: config/imagemaid/example.env
- Overlay Reset: config/overlay-reset/example.env
Override these variables easily on the command line when starting the Docker Compose stack:
KOMETA_TAG="latest" docker-compose up -d
Adjust the values of these environment variables to your requirements.
To import this project into DSM 7.2 Container Manager's Project feature:
- SSH into your Synology system.
- Clone this repository, e.g. to
/volume1/docker/duplex
. - In Container Manager, click Project then Create.
- Provide a title, e.g., duplex.
- Set the path to the cloned repository.
- Proceed through UI prompts to finish creating the project.
Refer to the official Synology documentation here for more on Container Manager Projects.
Use DSM 7 Reverse Proxy to configure secure access to Synology applications. Follow the guide here for DSM 7.
Note: If you encounter "Socket closed" errors when accessing the DSM UI via reverse proxy and trying to open terminals for running containers, enable WebSocket for the reverse proxy record:
- Go to
Control Panel -> Application Portal -> Reverse Proxy
.- Select
Edit
for your reverse proxy record.- Navigate to the
Custom Header
tab.- From the
Create
dropdown, selectWebSocket
.- Save the changes to resolve the issue.
Tested on Synology DS916+ running DSM 7.2.1-69057 Update 5, with Docker Compose v2.9.0-6413-g38f6acd.
Licensed under the Apache 2 License - see LICENSE for details.
Contribute or provide feedback to improve the Duplex repository. Happy Plexing! ๐