修改 eureka 实例地址
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,3 +31,4 @@ build/
|
|||||||
|
|
||||||
### VS Code ###
|
### VS Code ###
|
||||||
.vscode/
|
.vscode/
|
||||||
|
/bin/
|
||||||
|
@ -100,9 +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: http://10.242.31.158
|
instance-id: http://10.242.31.158:${server.port}
|
||||||
# instance-ip: ${spring.cloud.client.ip-address}:${server.port}
|
# 这是客户端的注册地址, eureka 会通过这个地址建立管道
|
||||||
instance-ip: http://10.242.31.158:${server.port}
|
ip-address: 10.242.31.158
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
configuration:
|
configuration:
|
||||||
|
Reference in New Issue
Block a user