From 4db5c2775504e9810de37d51cee31f2520012db5 Mon Sep 17 00:00:00 2001 From: aki Date: Fri, 25 Apr 2025 11:22:58 +0800 Subject: [PATCH] fix(traefik): Move extra_hosts over to tailscale --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 66e2fdc..4dcd7c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,8 +19,8 @@ services: # - "443:443" volumes: - /var/run/docker.sock:/var/run/docker.sock:ro - extra_hosts: - - host.docker.internal:172.17.0.1 + # extra_hosts: # Remove this section + # - host.docker.internal:172.17.0.1 healthcheck: test: ["CMD", "traefik", "healthcheck", "--ping"] interval: 30s @@ -515,6 +515,8 @@ services: cap_add: - NET_ADMIN - NET_RAW + extra_hosts: # Add this section + - host.docker.internal:172.17.0.1 restart: always command: - /bin/sh