From fd6901559e8057be2e30825de9055f20568eef03 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 20 Jun 2026 21:45:52 +0200 Subject: [PATCH] chore(docker): add HEALTHCHECK to pngx-controller-ts sidecar wget --spider on 127.0.0.1:8000 verifies the Tailscale sidecar's network namespace is forwarding to the backend (controller shares the ts container's network ns). start_period=60s covers Tailscale auth + tailscaled boot. Co-Authored-By: Claude Opus 4.7 --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e42f4ea..e82eb81 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,12 @@ services: - NET_ADMIN - NET_RAW restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "wget --spider -q http://127.0.0.1:8000/ || exit 1"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 60s networks: - default - domverse