• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin and Docker Set-Up

     
    • 0 Vote(s) - 0 Average

    Jellyfin and Docker Set-Up

    Problem setting up my media files so they Jellyfin can accvess them in Docker
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 06:18 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-24, 06:42 PM
    RE: Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 07:40 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-24, 08:03 PM
    RE: Jellyfin and Docker Set-Up - by johnbilboa - 2025-03-24, 11:47 PM
    RE: Jellyfin and Docker Set-Up - by TheDreadPirate - 2025-03-25, 12:15 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode