feat: configure Tailscale to run as daemon with DNS acceptance
Update docker-compose.yml to run tailscaled as a background daemon and execute tailscale up with DNS acceptance flag. This replaces the previous env_file configuration approach.
This commit is contained in:
parent
52313faac2
commit
454bac9155
@ -20,8 +20,11 @@ services:
|
||||
hostname: patrizio
|
||||
image: tailscale/tailscale:latest
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- tailscale.env
|
||||
command: >
|
||||
sh -c "tailscaled &
|
||||
sleep 5 &&
|
||||
tailscale up --accept-dns=true &&
|
||||
wait"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "tailscale status"]
|
||||
interval: 1s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user