bootstrap配置

This commit is contained in:
litianxiang
2026-04-28 16:04:49 +08:00
parent 5ceda7991d
commit cc839dce1d

View File

@@ -22,9 +22,14 @@ spring:
namespace: ${nacos.namespace}
username: ${nacos.username}
password: ${nacos.password}
instance-protocol: http
instance-ip: 18.167.251.121
instance-port: 10093
# 官方正确配置:强制注册指定 IP/port
ip: 18.167.251.121
port: 10093
# 官方要求:只注册 IPv4关闭自动双栈探测
ip-type: ipv4
config:
server-addr: ${nacos.host}
namespace: ${nacos.namespace}