From 5d96b58fa0ddc4b151a7c5bddfe7f52108dfab5f Mon Sep 17 00:00:00 2001 From: Davide Polonio Date: Mon, 6 Apr 2026 19:19:52 +0200 Subject: [PATCH] fix(patrizio): simplify tailscale container configuration Remove unnecessary shell wrapper and startup delay from tailscale service. Configure DNS directly in docker-compose instead of relying on --accept-dns flag. This streamlines the container startup process and removes the 5-second artificial delay. --- patrizio/docker-compose.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/patrizio/docker-compose.yml b/patrizio/docker-compose.yml index 97d066a..d9d2d43 100644 --- a/patrizio/docker-compose.yml +++ b/patrizio/docker-compose.yml @@ -20,11 +20,9 @@ services: hostname: patrizio image: tailscale/tailscale:latest restart: unless-stopped - command: > - sh -c "tailscaled & - sleep 5 && - tailscale up --accept-dns=true --login-server=https://vpn.poldebra.me && - wait" + dns: + - 100.64.0.4 + command: tailscaled healthcheck: test: ["CMD-SHELL", "tailscale status"] interval: 1s