I'm running Jellyfin on my Ubuntu Server 24.xx and I'm considering switching to Docker for better management. However, I have a massive media collection spread across 30 folders, totaling about 3.5TB. Is there a way to configure Docker to access all my media folders without manually listing each one in the compose file? Thanks in advance for any help!
3 Answers
You can bind-mount the parent directory of your media collection into the Jellyfin container. This way, you only need to specify the main folder and Jellyfin can access all the subfolders from there. It's super efficient!
Just point the container to the parent folder of your media files; that's your best bet! It simplifies everything.
Yes, I have mine set up to connect to a NAS for storing media. Check out a snippet of my compose file for reference:
```yaml
services:
jellyfin:
volumes:
- nas-share:/media
...
volumes:
nas-share:
driver_opts:
type: cifs
o: username=...,password=...
device: //192.168.1.2/Media
```
Just so you know, I switched from CIFS to NFS for my shared storage, and it's way faster—especially helpful for handling multiple users. Plus, I can set it up without needing passwords in my compose file!
Exactly! Just make sure to include the parent folder in your Docker startup command or your compose file.