From dc70e14fae3c58f3a878ab62b4b1eec4bc0f6d62 Mon Sep 17 00:00:00 2001 From: Jack Spiering <46534141+jackspiering@users.noreply.github.com> Date: Sun, 4 Jan 2026 13:15:33 +0100 Subject: [PATCH 1/2] removed config volume Removed config volume because serve is not being used. --- services/tailscale-exit-node/compose.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/tailscale-exit-node/compose.yaml b/services/tailscale-exit-node/compose.yaml index c77d019..2f755be 100644 --- a/services/tailscale-exit-node/compose.yaml +++ b/services/tailscale-exit-node/compose.yaml @@ -15,7 +15,6 @@ 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 @@ -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 From 09db5416f9b4c6d86674b4ce0d9d8e957c4ce754 Mon Sep 17 00:00:00 2001 From: Jack Spiering <46534141+jackspiering@users.noreply.github.com> Date: Sun, 4 Jan 2026 13:21:35 +0100 Subject: [PATCH 2/2] Replace hardcoded DNS with environment variable --- services/tailscale-exit-node/compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/tailscale-exit-node/compose.yaml b/services/tailscale-exit-node/compose.yaml index 2f755be..f3fd593 100644 --- a/services/tailscale-exit-node/compose.yaml +++ b/services/tailscale-exit-node/compose.yaml @@ -19,7 +19,7 @@ services: 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