2024-12-21, 04:42 AM
(2024-09-16, 05:32 PM)xyu Wrote: My YAML file is set up like this, and I've tried adding the volume2 bind and target to the compose file. However, when i try to add the library in jellyfin, the library on volume2 does not show up at all. (I ran out of space on volume 1 and would like to store my media in volume2)
Code:version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
# user: uid:gid
network_mode: 'host'
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /volume1/Media/Movies
target: /movies
- type: bind
source: /volume2/Media2/Movies
target: /movies
- type: bind
source: /volume1/Media/Shows
target: /shows
- type: bind
source: /volume1/Media/Books
target: /books
read_only: false
Am I doing something wrong, is there another place i need to add volume2 so that jellyfin knows to look for it when adding a Library?
I don't know if you got help for this already, but your issue is that you cannot link multiple mounts to the same location.
What you basically did is link both movie directories to appear under the same "/movies" target.
What this does is cause an error where the container won't know which place to reference when it tries to access "/movies" internally.
You should give the new movie directory a different target name and that new name should appear in the container.
You can add multiple directories to a single library in Jellyfin, so make sure to do that if you want to mix it with your current movie library in Jellyfin.