Navidrome on my Pi, music on my NAS
from sabreW4K3@lemmy.tf to navidrome@discuss.tchncs.de on 03 Jan 2024 15:15
https://lemmy.tf/post/3131179

I’m curious if there’s a specific way to go about doing this?

Can I just set my docker-compose.yaml to

volumes:
      - "/opt/navidrome/data:/data"
      - "http://192.168.0.88/Shared Music/:/music:ro"

Or do I have to mount the directory first

Or can I use the ND_BASEURL?

#navidrome

threaded - newest

ryan_harg@discuss.tchncs.de on 03 Jan 2024 15:54 collapse

I think you need to mount the directory first. I’m not aware that docker can directly mount volumes from another server.

sabreW4K3@lemmy.tf on 08 Jan 2024 12:07 collapse

Thanks, do you know what the optimal way to do this on boot is? Or is it best just to do it manually?

ryan_harg@discuss.tchncs.de on 09 Jan 2024 10:02 collapse

I’m using NFS shares to mount remote directories. You’ll find plenty of tutorials, I guess, but the general approach will be to export folders on the remote machine (/etc/exports) and then mount them, either manually or in /etc/fstab. This assumes you are using Linux, other OSs will be different or will use different protocols (Samba?). What’s best is depending on your use case, but it’s not hard to automatically mount shares…