Comment on Best Way To Mount A Directory on Boot
SeeJayEmm@lemmy.procrastinati.org 1 year ago
Everyone’s saying fstab but if Navidrome is in a docker container, just mount it as a volume on your container. I found this guide that seems to document it fairly well.
phoenixnap.com/kb/nfs-docker-volumes
This is how I’m handling NFS mounts in my docker stacks.
sabreW4K3@lemmy.tf 1 year ago
So this is my preferred method, but I found the blog post really confusing. Subsequently, it failed.
What am I doing wrong?
SeeJayEmm@lemmy.procrastinati.org 1 year ago
I’m rather confused by the config you posted. The NFS config should all be down in the volumes: section the only thing you reference in the service section is the name of the volume you define and the path to mount in the container. Something like this (tho I’m guessing as to what should be what with your setup).
sabreW4K3@lemmy.tf 1 year ago
Thank you so much.
One more question, do I have to point it directly at the directory I want or can I point it at one above? Reason being, I have a film directory which I will point Jellyfin to too.
SeeJayEmm@lemmy.procrastinati.org 1 year ago
You can point it to any nfs file system you have exported on the file server. That’s entirely up to you.