diff --git a/traefik/traefik-proxy.yml b/traefik/traefik-proxy.yml index 00685ba..c88d26f 100644 --- a/traefik/traefik-proxy.yml +++ b/traefik/traefik-proxy.yml @@ -51,17 +51,6 @@ services: - node.role == manager # Run Traefik only on manager nodes (recommended) restart_policy: condition: on-failure - labels: - # Traefik Dashboard exposure (if enabled) - - traefik.enable=true - - traefik.http.routers.traefik-dashboard.rule=Host(`traefik.emrekirman.xyz`) # Replace with your dashboard domain - - traefik.http.routers.traefik-dashboard.entrypoints=websecure - - traefik.http.routers.traefik-dashboard.service=api@internal - - traefik.http.routers.traefik-dashboard.tls.certresolver=myresolver - # Optional: Basic Auth for Dashboard (highly recommended for production) - # - traefik.http.routers.traefik-dashboard.middlewares=traefik-auth - # - traefik.http.middlewares.traefik-auth.basicauth.users=user:$$apr1$$HASHED_PASSWORD_HERE - # You can generate the hashed password with `echo $(htpasswd -nb user password)` networks: traefik-public: external: true # Use an existing overlay network