Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health check support #18

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Health check support #18

wants to merge 7 commits into from

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.

None yet

2 participants