Healthchecks.io Integration #159
mark-monteiro
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
@mark-monteiro , could you please provide more details on this. is it working as expected or any blockers? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@mark-monteiro Thanks for this! I was about to set this up myself. I used your scripts instead and they worked flawlessly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thought I'd share the configuration I'm using to integrate with healthchecks.io using the support for custom pre and post scripts.
You end up with a log of backups run, with a duration for each backup, and can set up notifications for when a backup fails to run at the expected time, or does not completed within the expected amount of time.
The scripts required and included below. You can re-use these scripts between multiple container instances, you just need to set a different
HEALTHCHECK_URL
environment variable value for each container.Below is an example of the relevant parts you would need to add to a Docker Compose file (be sure to update
HEALTHCHECK_URL
)Pre Script
Post Script
Beta Was this translation helpful? Give feedback.
All reactions