Docker compose - Jellyfin - cache directory

  • I want to give Jellyfin a try, so I'm planning on creating a Docker compose file, like this: https://jellyfin.org/docs/gene…er/#using-docker-composet. It seems the port declaration is missing, but that's easily added.


    But I'm wondering what I should do with that /path/to/cache. I'm leaning toward having that be a directory on my Linux system drive, rather than on one of the dedicated storage drives. But I always like to check with people who know more about it than I :)


    What do you think?

  • Go to Create -> Files -> + -> add from example -> search Jellyfin select -> + -> add


    Next


    Create -> Files -> jelyffin select edition


    add to theme


    --volume /path/to/cache:/cache \ # Alternately --volume jellyfin-cache:/cache


    /path/to/cache Path on main drive

    omv 8.0.7 (Custom Version) | 64 bit | Custom Version | Angular 20

    Edited once, last by gekomod ().

  • Can't help you with /path/to/cache


    When using network_mode: 'host' port statements are not required and if you include any port statements they will be ignored.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Can't help you with /path/to/cach
    When using network_mode: 'host' port statements are not required and if you include any port statements they will be ignored.

    but it asks about the cache directory that it creates on the disk and gives the path in the container.

    I gave him how to do it.

    omv 8.0.7 (Custom Version) | 64 bit | Custom Version | Angular 20

  • but it asks about the cache directory that it creates on the disk and gives the path in the container.

    I gave him how to do it.

    You replied in Polish. How do you know the OP can read it?

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • When using network_mode: 'host' port statements are not required and if you include any port statements they will be ignored.

    Right, I noticed that - but got side tracked... Can I just remove that line, and add a port statement?

    but it asks about the cache directory that it creates on the disk and gives the path in the container.

    I gave him how to do

    Thanks. But I was mostly wondering whether I should point to a directory on my Linux system SSD, rather than a directory on an external SSD, which is used for storage. Since it's cache, the system SSD makes more sense, probably?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!