mirror of
https://github.com/fosrl/newt.git
synced 2026-02-19 19:36:39 +00:00
added healthy check in main.go extended the ping check that creates a /tmp/healthy file if ping successfull and removes that file if ping failes 3 times. With this you can add the following to the newt docker compose to do the health check: healthcheck: test: ["CMD-SHELL", "test -f /tmp/healthy"] interval: 30s timeout: 10s retries: 3
23 KiB
23 KiB