diff --git a/services/tailscale-exit-node/compose.yaml b/services/tailscale-exit-node/compose.yaml index c77d019..f3fd593 100644 --- a/services/tailscale-exit-node/compose.yaml +++ b/services/tailscale-exit-node/compose.yaml @@ -15,12 +15,11 @@ services: - TS_LOCAL_ADDR_PORT=127.0.0.1:41234 # The : 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 @@ -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 \ No newline at end of file + restart: always