修改 eureka 实例地址
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,3 +31,4 @@ build/
|
|||||||
|
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
|
/bin/
|
||||||
|
@ -2,6 +2,11 @@ server:
|
|||||||
port: 18018
|
port: 18018
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /
|
context-path: /
|
||||||
|
|
||||||
|
seata:
|
||||||
|
service:
|
||||||
|
vgroup-mapping:
|
||||||
|
biz-service-ebtp-extend-service-group: default
|
||||||
|
|
||||||
# 对应 apollo 配置中心的应用名
|
# 对应 apollo 配置中心的应用名
|
||||||
app:
|
app:
|
||||||
@ -15,10 +20,7 @@ apollo:
|
|||||||
enabled: true
|
enabled: true
|
||||||
eagerLoad:
|
eagerLoad:
|
||||||
enabled: true
|
enabled: true
|
||||||
seata:
|
|
||||||
service:
|
|
||||||
vgroup-mapping:
|
|
||||||
biz-service-ebtp-extend-service-group: default
|
|
||||||
spring:
|
spring:
|
||||||
aop:
|
aop:
|
||||||
auto: true #开启spring的aop配置
|
auto: true #开启spring的aop配置
|
||||||
@ -98,8 +100,9 @@ eureka:
|
|||||||
defaultZone: http://10.242.31.158:5001/eureka,http://10.242.31.158:5002/eureka,http://10.242.31.158:5003/eureka
|
defaultZone: http://10.242.31.158:5001/eureka,http://10.242.31.158:5002/eureka,http://10.242.31.158:5003/eureka
|
||||||
instance:
|
instance:
|
||||||
prefer-ip-address: true
|
prefer-ip-address: true
|
||||||
hostname: ${spring.cloud.client.ip-address}
|
instance-id: http://10.242.31.158:${server.port}
|
||||||
instance-ip: ${spring.cloud.client.ip-address}:${server.port}
|
# 这是客户端的注册地址, eureka 会通过这个地址建立管道
|
||||||
|
ip-address: 10.242.31.158
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
configuration:
|
configuration:
|
||||||
@ -147,6 +150,7 @@ mconfig:
|
|||||||
project: biz-service-ebtp-project #项目服务
|
project: biz-service-ebtp-project #项目服务
|
||||||
resps: biz-service-ebtp-resps #应答结构化服务
|
resps: biz-service-ebtp-resps #应答结构化服务
|
||||||
rsms: biz-service-ebtp-rsms #评审结构化服务
|
rsms: biz-service-ebtp-rsms #评审结构化服务
|
||||||
|
|
||||||
# 用户暴露给 prometheus 的健康数据
|
# 用户暴露给 prometheus 的健康数据
|
||||||
management:
|
management:
|
||||||
endpoints:
|
endpoints:
|
||||||
|
Reference in New Issue
Block a user