Help with Docker PLEX and Homebridge setup - Printable Version +- ASK NC (https://ask.nascompares.com) +-- Forum: Q&A (https://ask.nascompares.com/forumdisplay.php?fid=1) +--- Forum: Before you buy Q&A (https://ask.nascompares.com/forumdisplay.php?fid=2) +--- Thread: Help with Docker PLEX and Homebridge setup (/showthread.php?tid=11634) |
Help with Docker PLEX and Homebridge setup - Enquiries - 01-16-2025 Hi I have a DS224+ and trying to set up a media server using Docker and PLEX but also Homebridge to use apple homekit. I get stuck with the yaml file programming and understanding which ports to open and how then to log into it from a pc or mobile. I’m happy to pay for help. Can you help me? Regards Stefan RE: Help with Docker PLEX and Homebridge setup - ed - 01-17-2025 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. |