[GH-ISSUE #31] [Feature Request] Add healthcheck for Docker Compose #1676

Closed
opened 2026-04-27 22:16:36 -05:00 by GiteaMirror · 3 comments
Owner

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.

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.
Author
Owner

@oschwartz10612 commented on GitHub (Apr 20, 2025):

Hi thanks for the feature request! I will try to add something like this sometime soon.

<!-- gh-comment-id:2817286238 --> @oschwartz10612 commented on GitHub (Apr 20, 2025): Hi thanks for the feature request! I will try to add something like this sometime soon.
Author
Owner

@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: 90s
doesn't work.

<!-- gh-comment-id:3005286547 --> @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: 90s ` doesn't work.
Author
Owner

@woutervanelten commented on GitHub (Jun 25, 2025):

I created a pull request that solves this request:
add-healthcheck

<!-- gh-comment-id:3005657036 --> @woutervanelten commented on GitHub (Jun 25, 2025): I created a pull request that solves this request: [add-healthcheck](https://github.com/fosrl/newt/pull/71)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#1676