摘要:
application.yml中配置如下: # 配置中心配置 spring: application: name: device-api cloud: consul: host: consul port: 8500 config: acl-token: c6a05ce4-ef63-8dcb-d120 阅读全文
posted @ 2023-11-14 18:04
喻聪
阅读(91)
评论(0)
推荐(0)
摘要:
一、启动 启动server端 nohup ./consul agent -config-dir=/opt/consul/config & 启动指令说明 agent: Consul的核心进程,每个节点都需要代理的形式运行 -config-dir: 指定配置文件目录,Consul会自动加载里面所有jso 阅读全文
posted @ 2023-11-14 17:19
喻聪
阅读(110)
评论(0)
推荐(0)

浙公网安备 33010602011771号