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.
This commit is contained in:
parent
af8630bcf7
commit
5d96b58fa0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user