From e5808721587c9bc39c799bd72a204e1c6802d447 Mon Sep 17 00:00:00 2001 From: fanfpy Date: Tue, 1 Jul 2025 15:04:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(traefik):=20=E6=9B=B4=E6=96=B0consulCatalog?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=B9=B6=E7=A7=BB=E9=99=A4docker=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将consulCatalog的exposedByDefault设置为true以启用服务自动发现 移除不再使用的docker provider配置 --- traefik/traefik.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/traefik/traefik.yml b/traefik/traefik.yml index 5336a79..84f204b 100644 --- a/traefik/traefik.yml +++ b/traefik/traefik.yml @@ -4,13 +4,10 @@ entryPoints: providers: - docker: - exposedByDefault: true - consulCatalog: endpoint: address: "ari-consul:8500" - exposedByDefault: false + exposedByDefault: true api: dashboard: true