From d9f0d58ec74de47e5930652b481e9c955442dde9 Mon Sep 17 00:00:00 2001 From: "StarsL.cn" Date: Wed, 26 Jul 2023 14:58:00 +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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Consul部署说明.md b/docs/Consul部署说明.md index ed3b9d7..5cbdfe6 100644 --- a/docs/Consul部署说明.md +++ b/docs/Consul部署说明.md @@ -21,7 +21,7 @@ uuidgen data_dir = "/opt/consul" log_level = "error" -# 服务器有多个IP启动会报错请增加这行配置:填写服务器IP,如果启动或运行有报错,可以尝试去掉这行 +# 服务器有多个IP启动会报错请增加这行配置:填写服务器IP。 advertise_addr = "192.168.x.x" client_addr = "0.0.0.0" @@ -35,6 +35,12 @@ ports = { grpc_tls = -1 serf_wan = -1 } +peering { + enabled = false +} +connect { + enabled = false +} server = true bootstrap_expect=1 acl = {