Comment on Selfhosting Sunday! What's up?
MangoPenguin@lemmy.blahaj.zone 2 weeks agoYou should be able to modify the docker service to wait until a mount is ready before starting. That would be the standard way to deal with that kind of thing.
Comment on Selfhosting Sunday! What's up?
MangoPenguin@lemmy.blahaj.zone 2 weeks agoYou should be able to modify the docker service to wait until a mount is ready before starting. That would be the standard way to deal with that kind of thing.
csm10495@sh.itjust.works 2 weeks ago
What if it’s a network mount inside the container? Doesn’t the mount not happen till the container starts?
MangoPenguin@lemmy.blahaj.zone 2 weeks ago
Correct yeah, you’d still need a way on the host to check if the mount is ready though before starting the service. Or you could just do a fixed delay time.