OK. So it sounds like both. Sometimes the music library app (running in a Docker Container) goes offline. Sometimes the NAS goes offline.
So possibly two different problems. Related? Maybe or maybe not.
What happens with the NAS if you leave it up but don’t run your Music app - LMS. Kill the app in the container. Does the NAS stay up then? Or does it eventually go offline?