Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions services/tailscale-exit-node/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ services:
- TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The <addr>:<port> for the healthz endpoint
#- TS_ACCEPT_DNS=true # Uncomment when using MagicDNS
volumes:
- ./config:/config # Config folder used to store Tailscale files - you may need to change the path
- ./ts/state:/var/lib/tailscale # Tailscale requirement - you may need to change the path
devices:
- /dev/net/tun:/dev/net/tun # Network configuration for Tailscale to work
dns:
- 9.9.9.9 # Can be changed to your desired DNS provider
- ${DNS_SERVER}
sysctls:
net.ipv4.ip_forward: 1
net.ipv6.conf.all.forwarding: 1
Expand All @@ -33,4 +32,4 @@ services:
timeout: 10s # Time to wait for the check to succeed
retries: 3 # Number of retries before marking as unhealthy
start_period: 10s # Time to wait before starting health checks
restart: always
restart: always