![]() ![]() To start the container, place the docker-compose.yml file in the Plex folder I assume you have created as your Plex folder on the Docker host. Note I’ve placed the docker-compose.yml file in the same folder, a convention rather than a rule. The folder structure created when running Plex the first time. volume3/media/movies/:/data/movies/MOVIES #- "1900:1900/udp" #(for access to the Plex DLNA Server) "5353:5353" # (for older Bonjour/Avahi network discovery) "32400:32400" #(for access to the Plex Media Server) The left side is your absolute path to your media files. The right side of the : is used for the container internal path, which for the library always starts with “/data/media” and then append your chose name. Mandatory is to let Plex access your media folders. config - I’ve chosen to export the Plex configuration folder on my local NAS share for easy access The volumes section is the most relevant: The environment node variables should be updated to reflect your preferences. ![]() The ports to expose are documented on the Plex support site. The advantage of a configuration file is it is very portable/movable and also resistant to UI crashes on Synology (which is the reason for this post as it happened to me now). docker-compose.ymlĭocker Compose uses a configuration file which is used instead of setting paramters via UI och cli. I’m using the release from Linuxserver as documented. The running docker container instance will be visible in the Synology Docker UI and can also be controlled from there. The previous setup uses the Synology UI but this version uses docker-compose, which is based on a configuration file. Actually there is nothing specific about Synology rather than mapped folder paths. This is an updated writeup of setting up PLEX Server using Docker Compose on a Synology NAS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |