Skip to content

Health check support#18

Open
crummy wants to merge 7 commits intoelementar:masterfrom
crummy:master
Open

Health check support#18
crummy wants to merge 7 commits intoelementar:masterfrom
crummy:master

Conversation

@crummy
Copy link

@crummy crummy commented Dec 13, 2020

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)

@tsmith023
Copy link

@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!

@crummy
Copy link
Author

crummy commented Sep 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants