From 06bfed66baab4d12a67fb288820414425755796d Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 20 Jun 2026 21:44:20 +0200 Subject: [PATCH] chore(docker): add HEALTHCHECK to outline-sync-ts sidecar wget --spider on 127.0.0.1:8080 verifies the Tailscale sidecar's network namespace is forwarding to the UI backend (UI 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 1784497..c8bd3c4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,12 @@ services: extra_hosts: - "outline:100.104.53.109" restart: unless-stopped + healthcheck: + test: ["CMD-SHELL", "wget --spider -q http://127.0.0.1:8080/ || exit 1"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 60s networks: - default - domverse