bootstrap.yml 541 B

1234567891011121314151617181920212223242526272829303132
  1. server:
  2. port: 8888
  3. spring:
  4. application:
  5. name: tofly-config
  6. profiles:
  7. active: native
  8. # 配置中心
  9. cloud:
  10. config:
  11. server:
  12. native:
  13. # search-locations: classpath:/config/
  14. search-locations: ${CONFIG_PATH:classpath:/config/mysql/}
  15. # 注册中心配置
  16. eureka:
  17. instance:
  18. prefer-ip-address: true
  19. client:
  20. service-url:
  21. defaultZone: http://tofly-eureka:${EUREKAPORT:9999}/eureka/
  22. # 暴露监控端点
  23. management:
  24. endpoints:
  25. web:
  26. exposure:
  27. include: '*'