diff --git a/traefik/docker-compose.yml b/traefik/docker-compose.yml index 3904a30..b9702a2 100644 --- a/traefik/docker-compose.yml +++ b/traefik/docker-compose.yml @@ -2,6 +2,7 @@ version: "3.3" services: traefik: image: "traefik:latest" + network_mode: "host" container_name: "traefik" command: - "--api.dashboard=true" @@ -27,7 +28,3 @@ services: - "traefik.http.routers.traefik.tls.certresolver=myresolver" - "traefik.http.routers.traefik.middlewares=traefik-auth" - "traefik.http.middlewares.traefik-auth.basicauth.users=user:$$apr1$$DzkytTmy$$B/p/aGYr4N4iH0JW8/zbg/" - -networks: - traefik_network: - external: true \ No newline at end of file