|
@@ -18,36 +18,31 @@ spring:
|
|
|
service-id: config
|
|
|
allow-override: true
|
|
|
|
|
|
----
|
|
|
-spring:
|
|
|
- profiles: dev
|
|
|
-
|
|
|
-
|
|
|
eureka:
|
|
|
- instance:
|
|
|
- prefer-ip-address: true
|
|
|
- ip-address: 192.168.42.12
|
|
|
client:
|
|
|
service-url:
|
|
|
defaultZone: http://config.tonyandmoney.cn/eureka/
|
|
|
+ instance:
|
|
|
+ prefer-ip-address: true
|
|
|
+
|
|
|
+logging:
|
|
|
+ file: ./logs/fw.log
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
- profiles: prod
|
|
|
+ profiles: dev
|
|
|
+
|
|
|
eureka:
|
|
|
- client:
|
|
|
- service-url:
|
|
|
- defaultZone: http://config.tonyandmoney.cn/eureka/
|
|
|
instance:
|
|
|
- prefer-ip-address: true
|
|
|
+ ip-address: 192.168.42.12
|
|
|
+
|
|
|
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: sit
|
|
|
+
|
|
|
+# 注册中心配置
|
|
|
eureka:
|
|
|
- client:
|
|
|
- service-url:
|
|
|
- defaultZone: http://config.tonyandmoney.cn/eureka/
|
|
|
instance:
|
|
|
prefer-ip-address: true
|