mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
修复zookeeper连接报错问题
This commit is contained in:
@@ -18,13 +18,15 @@ spring:
|
||||
|
||||
cloud:
|
||||
zookeeper:
|
||||
connect-string: localhost:2181 # zookeeper地址
|
||||
connect-string: 10.1.31.126:2181
|
||||
|
||||
gateway: # Spring Cloud Gateway配置,如果用了zuul,这段配置没有效果
|
||||
discovery:
|
||||
locator:
|
||||
lower-case-service-id: true
|
||||
enabled: true
|
||||
|
||||
|
||||
# 数据源
|
||||
datasource:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
Reference in New Issue
Block a user