2025-03-25, 12:15 AM
(2025-03-24, 11:47 PM)johnbilboa Wrote: Hi
I understand what you say about mapping . Thank you.
What I still struggle with is what to put in Portainer as a path
Firstly when I created the Jellyfin container in Portainer the pull from the docker hub automatically created two volumes with a target path of /config and /cache.
For example for /congig portainer has infilled this info in the volume it added. (The volumes are being used by Jellyfin according to Portainer).
Mount path /var/lib/docker/volumes/d87243e6e6638a455451003d70609dff1f48fa3590479f582f1e2f2bb3a2b164/_data
Driver local
and
Containers using volume
Container Name Mounted At Read-only
Jellyfin /config false
Did it get this from my host? Is this all that's needed to map these two or do I need additional volumes. I'm not really up with Linux as to how to find the right config and cache files on my pc file system. There seems to be loads of them when I do a file system search.
The path portainer provided is a docker managed volume that SHOULD retain your jellyfin data if Jellyfin were to be upgraded. But it is generally recommended to provide your own folder for /config that you control.
I put all the data for my docker containers in "/docker/<insert app name>", one folder for each app I run in Docker. But it doesn't have to be anywhere specific. Just put it somewhere you have read/write access to and, preferably, on a SSD.
(2025-03-24, 11:47 PM)johnbilboa Wrote: For my music files I have this as the file path on my local host (pc)
home/johnbilboa/Music/My Music Collection
and then a folder for each letter of the alphabet and within each letter a folder for each artist and then for each artist a folder for each album.
Sorry if I appear a bit dim, but I don't understand from your example what file paths I'm supposed to put in Portainer for the volume path (which I assume is the host) and what to put in the the container path which I guess would be the music file path in jellyfin.
Could you confirm these please and then I'll try to map these and see if it works.
Also Ive only mapped one port (8096) in the jellyfin container. Do I need to map any others to be able to use the jellyfin client on other devices?
Do I need any other ports open/mapped for a reverse proxy if I install one in another container?
Thanks
John
The only paths that MUST be set to a specific value is the container path /config and /cache. The host side of those mappings can be, as I stated above, anywhere you have control over.
For your music, that is entirely arbitrary for the container side. But whatever you put on the container side of that mapping is how it will appear when you add it to a library in the Jellyfin UI.