修改ip配置

This commit is contained in:
lsy
2017-12-18 21:05:18 +08:00
parent 71e21beba1
commit 6e381307e7
27 changed files with 48 additions and 55 deletions
@@ -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