diff --git a/docker-compose.yml b/docker-compose.yml index 6e8a4d8..698b247 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -514,6 +514,7 @@ services: cap_add: - NET_ADMIN - NET_RAW + network_mode: service:traefik # Add this line restart: always command: - /bin/sh @@ -540,11 +541,11 @@ services: # Check the ENABLE_FUNNEL_HTTPS variable if [ "${ENABLE_FUNNEL_HTTPS}" = "true" ]; then echo "ENABLE_FUNNEL_HTTPS is true. Setting up Funnel -> http://traefik:80..." - tailscale funnel --bg http://traefik:80 + tailscale funnel --bg http://localhost:80 echo "Tailscale Funnel configured." else echo "ENABLE_FUNNEL_HTTPS is false. Setting up Serve -> http://traefik:80..." - tailscale serve --bg http://traefik:80 + tailscale serve --bg http://localhost:80 echo "Tailscale Serve configured." fi # --- End Tailscale Funnel/Serve ---