this post was submitted on 03 Jan 2024
3 points (100.0% liked)

Navidrome Music Server (Unofficial)

288 readers
2 users here now

Navidrome is a free, open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. https://www.navidrome.org

This is an unofficial community. However, we adhear to the official Code Of Conduct set by the Navidrome project.

founded 1 year ago
MODERATORS
 

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?

top 3 comments
sorted by: hot top controversial new old
[–] ryan_harg@discuss.tchncs.de 1 points 10 months ago (1 children)

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 0 points 10 months ago (1 children)

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 1 points 10 months ago

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...