mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #31] [Feature Request] Add healthcheck for Docker Compose #771
Reference in New Issue
Block a user
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?
Originally created by @bannert1337 on GitHub (Apr 9, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/31
Add optional healthcheck to Docker Compose to check for dependencies.
@oschwartz10612 commented on GitHub (Apr 20, 2025):
Hi thanks for the feature request! I will try to add something like this sometime soon.
@woutervanelten commented on GitHub (Jun 25, 2025):
Any update on the health check option?
Would love to create some healthcheck to updown (or restart newt) if the connection is down.
a simple
healthcheck: test: ["CMD-SHELL", "ping -c 1 100.89.128.1 || exit 1"] interval: 30s timeout: 30s retries: 3 start_period: 90sdoesn't work.
@woutervanelten commented on GitHub (Jun 25, 2025):
I created a pull request that solves this request:
add-healthcheck