NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Fix volume race condition #71

Closed christopherwharrop-noaa closed 6 months ago

christopherwharrop-noaa commented 6 months ago

This PR uses the nocopy attribute for shared mounts in docker compose to remove the race condition caused by multiple containers trying to populate /home at startup time. This change sets the frontend container to be the one to write to the volume, and the other containers do not attempt to update /home at startup. This works because the initial contents of /home are the same on all containers. Closes #70

christopherwharrop-noaa commented 6 months ago

@NaureenBharwaniNOAA - This is ready for a look.