修改ip配置
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#自定义参数,用于命令行替换,默认值是172.17.0.1
|
||||
#自定义参数,用于命令行替换,默认值是127.0.0.1
|
||||
register:
|
||||
server:
|
||||
ip: 172.17.0.1
|
||||
ip: 127.0.0.1
|
||||
# 程序实例的配置,git仓库的配置
|
||||
spring:
|
||||
application:
|
||||
@@ -19,5 +19,5 @@ eureka:
|
||||
defaultZone: http://micro:fast@${register.server.ip}:10002/eureka/,http://micro:fast@${register.server.ip}:10004/eureka/ #配置所有的注册中心
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
ip-address: 172.17.0.1
|
||||
ip-address: 127.0.0.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user