svr-configurations.yml 383 B

123456789101112131415161718192021222324252627
  1. eureka:
  2. client:
  3. healthcheck:
  4. enabled: true #启动监控检查
  5. instance:
  6. #eurika使用IP不使用host
  7. prefer-ip-address: true
  8. #定制化在eurika中显示的名称
  9. instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
  10. ---
  11. spring:
  12. profiles: jwdev
  13. ---
  14. spring:
  15. profiles: jwtest
  16. ---
  17. spring:
  18. profiles: jwprod