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