Docker healthchecks #171
Labels
No labels
bug
chore
documentation
enhancement
help
in-progress
question
ready-for-release
released
translation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/gate#171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe your idea for an enhancement:
It would be great if there was a way to use healthcheck in Docker compose for both the service itself and the database (for Postgres DB). And then update the documentation with this setting.
Describe alternatives you've considered:
No alternatives.
Additional context:
I'm checking the status of containers in Beszel. I tried adding this code for VoidAuth, but the status is displayed as "Unhealthy":
I also noticed that if connect to the container via shell (sh), can ping the service. Although this didn't work either.
Oops, it turns out I messed up the command call for the test. That's how it worked:
However, perhaps you can come up with a more concise solution? And for the database too.
This is a great idea! I will add a modified version of this to the Docker image file so it will be automatic 😊
This has been implemented in the latest release v1.5.0. Please let me know if you run into any issues with the implementation