|
@@ -10,11 +10,13 @@ spring:
|
|
|
include: orm,cache,msg
|
|
|
cloud:
|
|
|
config:
|
|
|
- profile: dev
|
|
|
+ profile: ${spring.profiles.active}
|
|
|
discovery:
|
|
|
enabled: true
|
|
|
service-id: registry
|
|
|
allow-override: true
|
|
|
+ username: envir
|
|
|
+ password: envir
|
|
|
|
|
|
|
|
|
security:
|
|
@@ -28,7 +30,7 @@ eureka:
|
|
|
prefer-ip-address: true
|
|
|
client:
|
|
|
service-url:
|
|
|
- defaultZone: http://192.168.1.206:11001/eureka/
|
|
|
+ defaultZone: http://envir:envir@120.77.170.119:11001/eureka/
|
|
|
|
|
|
---
|
|
|
spring:
|
|
@@ -38,4 +40,6 @@ spring:
|
|
|
eureka:
|
|
|
client:
|
|
|
service-url:
|
|
|
- defaultZone: http://192.168.1.206:11001/eureka/
|
|
|
+ defaultZone: http://192.168.1.206:11001/eureka/
|
|
|
+ instance:
|
|
|
+ prefer-ip-address: true
|