From f9b0815e78069aae9e78e385b9e02c08bb3f75ef Mon Sep 17 00:00:00 2001 From: JigSaw Date: Wed, 9 Aug 2023 23:57:57 +0200 Subject: [PATCH] fix(store): add healthcheck to tailscale (#977) --- apps/tailscale/docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/tailscale/docker-compose.yml b/apps/tailscale/docker-compose.yml index acf6ea62..da098363 100644 --- a/apps/tailscale/docker-compose.yml +++ b/apps/tailscale/docker-compose.yml @@ -1,4 +1,4 @@ -version: "2" +version: "3.8" services: tailscale: @@ -12,3 +12,9 @@ services: volumes: - /var/lib:/var/lib - /dev/net/tun:/dev/net/tun + healthcheck: + test: wget --no-verbose --tries=1 --spider http://localhost:${APP_PORT} + interval: 10s + timeout: 5s + retries: 5 + start_period: 30s