From d2e0516dcbdc8db1d4da444147edb7abae6e267d Mon Sep 17 00:00:00 2001 From: "StarsL.cn" Date: Wed, 26 Jul 2023 14:15:46 +0800 Subject: [PATCH] =?UTF-8?q?Update=20Consul=E9=83=A8=E7=BD=B2=E8=AF=B4?= =?UTF-8?q?=E6=98=8E.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/Consul部署说明.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Consul部署说明.md b/docs/Consul部署说明.md index 9145606..ed3b9d7 100644 --- a/docs/Consul部署说明.md +++ b/docs/Consul部署说明.md @@ -19,7 +19,7 @@ uuidgen > 编辑配置文件`/etc/consul.d/consul.hcl` ```bash data_dir = "/opt/consul" -log_level = "warn" +log_level = "error" # 服务器有多个IP启动会报错请增加这行配置:填写服务器IP,如果启动或运行有报错,可以尝试去掉这行 advertise_addr = "192.168.x.x" @@ -28,6 +28,13 @@ client_addr = "0.0.0.0" ui_config{ enabled = true } +ports = { + grpc = -1 + https = -1 + dns = -1 + grpc_tls = -1 + serf_wan = -1 +} server = true bootstrap_expect=1 acl = {