I’m trying to use NFS mounts in a docker compose file, and it works for the first one.
/video contains exactly what I would expect. However, /music, and /photo have exactly the same contents as /video, NOT the content I would have expected. This seems like a bug, not an error in the compose file, but any advice would be appreciated.
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
volumes:
- rack_video:/video
- rack_music:/music
- rack_photo:/photo
volumes:
rack_video:
driver_opts:
type: nfs
o: addr=192.168.1.10,ro
device: :/volume1/video
rack_music:
driver_opts:
type: nfs
o: addr=192.168.1.10,ro
device: :/volume1/music
rack_photo:
driver_opts:
type: nfs
o: addr=192.168.1.10,ro
device: :/volume1/photo