One thing to consider with NFS is how stable your network is.
I’ve moved away from storing application files on my NAS and instead I store them locally where I run the application.
For things like jellyfin media or paperless files they can stay on the NAS and be accessed via NFS, but the config, db and other files the apps create as part of their operation, things can get into a bad state if the network drops at an unexpected time.
Instead I setup backup cronjobs that backup those files to the NAS nightly.
I agree with the other commenters regarding using the NFS share mounting right in docker compose. It does work great once you get it working.
One thing to consider with NFS is how stable your network is.
I’ve moved away from storing application files on my NAS and instead I store them locally where I run the application.
For things like jellyfin media or paperless files they can stay on the NAS and be accessed via NFS, but the config, db and other files the apps create as part of their operation, things can get into a bad state if the network drops at an unexpected time.
Instead I setup backup cronjobs that backup those files to the NAS nightly.
I agree with the other commenters regarding using the NFS share mounting right in docker compose. It does work great once you get it working.