I just set network_mode: host to make it all just work. You can Google something like Plex docker claim server SSH tunnel and check the container documentation for required ports if you want to chase that path. Claiming ownership of the media server in a NAT'ted container can also be a PITA since the incoming connection needs to be on the same subnet. ![]() Plex uses quite a few more ports - both TCP and UDP. ![]() I've kept the port as the default for both inside and outside the container to keep it simple. NetworkĪll containers except Plex use the standard NAT configuration, since they only require a single incoming port to the web interface. Otherwise, set both the PUID and PGID values to 0, which is the admin user. You will need to create a user and group and map to your user's IDs in each container config if you're like me and keep things separate and nailed down. Uid=1001(docker-plex) gid=100(everyone) groups=100(everyone),1000(docker)Īll app folders are owned by docker-plex:docker, while the docker group has RW access to the media shares. I created both via the QNAP Web UI, but confirmed the IDs in the CLI. share/Backups/plex_db:/db_backups # Folder on the NAS for automatic database backupsĬontainers are configured to run as the docker-plex user, which is also a member of the docker group (in case I want to create containers that run as other users). share/Multimedia/Pictures:/photos # Folder on the NAS where photos are stored share/Multimedia/Movies:/movies # Folder on the NAS where movies are stored share/Multimedia/TV:/tv # Folder on the NAS where TV episodes are stored share/Container/plex:/config # App configuration data share/Download/NZBGet/completed/TV:/downloads # Folder where completed TV downloads are stored (Where NZBGet drops them) share/Multimedia/TV:/tv # Folder on the NAS where TV episodes are stored (Where Plex reads it from) share/Container/sonarr:/config # App configuration data share/Download/NZBGet/completed/Movies:/downloads # Folder where completed movie downloads are stored (Where NZBGet drops them) share/Multimedia/Movies:/movies # Folder on the NAS where movies are stored (Where Plex reads it from) ![]() share/Container/radarr:/config # App configuration data share/Download/NZBGet:/downloads # Parent downloads folder (will create subfolders for categories) share/Container/nzbget:/config # App configuration data I chose the /share/Container fileshare created by Container Station to store both the docker-compose.yml config as well as each container's config folder. ![]() You'll need to find a folder to store config in, as data stored in ~ won't survive a reboot (I learned that the hard way!). Steps and Container Doco Clone this Repository and Configure the Startup Script If creating these containers on a QNAP, add the QNAPClub repo and ensure you can view the contents in App Center. Otherwise, the below information is fine for a fresh installation as well. Once the containers are up and running, follow the steps in Migrate Plex QPKG to Docker.md to complete the migration. Sonarr, Radarr and NZBGet were easy enough to build from scratch, but Plex needed a migration if I wanted to keep my library configuration and watched/unwatched statuses. I wanted to make all my apps on my QNAP NAS portable so they're easy to restore or migrate to another device.
0 Comments
Leave a Reply. |