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?

  • sabreW4K3@lemmy.tfOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

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

    • Ryan@discuss.tchncs.deM
      link
      fedilink
      arrow-up
      1
      ·
      9 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…