svr-configurations.yml 437 B

123456789101112131415161718192021222324252627282930
  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. #security:
  11. # user:
  12. # name: jw
  13. # password: jkzl
  14. ---
  15. spring:
  16. profiles: jwdev
  17. ---
  18. spring:
  19. profiles: jwtest
  20. ---
  21. spring:
  22. profiles: jwprod