Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Help with Docker PLEX and Homebridge setup

#2
Thank you for reaching out! I’d be happy to guide you through setting up Docker with Plex and Homebridge on your DS224+. Let’s break it down step by step, covering the YAML configuration, ports, and logging in from your devices.

1. Setting Up Docker on Your DS224+
Ensure Docker is installed from Synology’s Package Center before proceeding.

2. Plex Setup in Docker
Create a Docker Container for Plex
Open Docker in DSM and go to Registry.
Search for plex and download the image by plexinc/pms-docker.
Go to Container and click Create to start setting up your Plex container.
YAML Configuration for Plex
Here's a sample YAML file for Plex:

yaml
Copy
Edit
version: "3.8"
services:
plex:
image: plexinc/pms-docker:latest
container_name: plex
network_mode: host
environment:
- PLEX_CLAIM=<your_plex_claim_token>
- TZ=Europe/London
volumes:
- /volume1/docker/plex/config:/config
- /volume1/docker/plex/transcode:/transcode
- /volume1/media:/data
restart: unless-stopped
Replace <your_plex_claim_token> with your Plex claim token.
Mount the volumes to appropriate directories:
/volume1/docker/plex/config: Plex metadata and settings.
/volume1/docker/plex/transcode: Temporary files for transcoding.
/volume1/media: Your media folder (e.g., movies, music).
How to Log into Plex
Open your browser and go to http://<your_nas_ip>:32400/web.
Log in using your Plex account.
3. Homebridge Setup in Docker
Create a Docker Container for Homebridge
In Docker, search for homebridge and download the oznu/homebridge image.
Create a new container using the Homebridge image.
YAML Configuration for Homebridge
yaml
Copy
Edit
version: "3.8"
services:
homebridge:
image: oznu/homebridge:latest
container_name: homebridge
network_mode: host
environment:
- TZ=Europe/London
- HOMEBRIDGE_CONFIG_UI=true
volumes:
- /volume1/docker/homebridge/config:/homebridge
restart: unless-stopped
How to Log into Homebridge
Open your browser and go to http://<your_nas_ip>:8581.
Follow the setup wizard to configure Homebridge for your Apple HomeKit devices.
4. Port Information
For Plex and Homebridge, use the following ports (when not using network_mode: host):

Plex:
External: 32400 → Internal: 32400 (for Plex Web).
Homebridge:
External: 8581 → Internal: 8581 (for Homebridge UI).
5. Troubleshooting Tips
Docker Permissions: Ensure the docker user group has read/write permissions to your mounted volumes.
Firewall Rules: Open the relevant ports (32400 for Plex, 8581 for Homebridge) in Synology’s Firewall settings if enabled.
Reply


Messages In This Thread
RE: Help with Docker PLEX and Homebridge setup - by ed - Yesterday, 12:13 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)