docker-s3-volume icon indicating copy to clipboard operation
docker-s3-volume copied to clipboard

Health check support

Open crummy opened this issue 4 years ago • 2 comments
trafficstars

Problem

I want to know when the initial sync is completed, so I can safely boot up dependent containers that rely on these files.

Solution

Add health check support:

  • When initial sync is complete, write a file to the container's file system
  • Point the health check configuration to check for the existence of this file
  • During backups, if a backup fails, remove the file (this one isn't essential for my needs but seems part of a health check feature)

crummy avatar Dec 13 '20 18:12 crummy

@fabiob, is there any chance this could be merged? It would be a great change that makes spinning up standalone docker compose environment much easier. Cheers!

tsmith023 avatar Sep 20 '22 09:09 tsmith023

@tsmith023 in a pinch you can use the image I built here: https://hub.docker.com/r/crummy/s3-volume

crummy avatar Sep 20 '22 11:09 crummy