Should I Use Nested Folders for My Nextcloud and Jellyfin Containers?

0
5
Asked By TechNinja42 On

I'm trying to set up Nextcloud and Jellyfin in separate containers so that I can access all my movies and TV shows in Jellyfin from Nextcloud. To do this, I created a main folder called "nextcloud" and put a sub-folder called "jellyfin" inside it. But I'm wondering if having both containers access the same data (like an .mp4 file, for instance) at the same time could lead to issues. Is this setup okay, or should I reconsider the folder structure?

4 Answers

Answered By CloudSurfer89 On

It's actually safe to bind the same directory to multiple containers without causing issues. But I'd suggest avoiding nested directories mainly for easier management.

DataExplorer99 -

Exactly! You can bind any directory, and Docker doesn't have a problem with it. Just remember, you can also bind child contents along with the parent.

Answered By CautionaryDeveloper On

Honestly, it’s not a good idea to structure the folders this way. Just bind mount your media directory between both containers to avoid any potential issues. You might break something with this setup if you're not careful.

TechNinja42 -

Thanks for the heads up! I’ll keep that in mind.

Answered By FileHandlerPro On

One thing to note is that if you edit files directly outside of Nextcloud, you'll have to run a detection script to get Nextcloud to recognize the changes. Otherwise, it won’t show the updated data.

TechNinja42 -

Wait, so if I rename a file in Jellyfin, I’ll have to restart Nextcloud to see that change? That could be a hassle!

Answered By MediaMaster08 On

You don't really need to nest directories like that. Just bind mount your media folder for both containers. Just keep in mind that Jellyfin has specific needs for folder structure, and Nextcloud might add its own folders too. What exactly are you trying to achieve by linking both?

MovieBuff24 -

I'm just looking to see all my movies in Nextcloud and launch them directly in Jellyfin instead of having to download them each time. I was also just curious if the two containers would conflict over permissions or anything.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.