bootstrap.yml 548 B

1234567891011121314151617181920212223242526
  1. server:
  2. port: 9002
  3. tomcat:
  4. uri-encoding: utf-8
  5. # 注册中心配置
  6. eureka:
  7. client:
  8. service-url:
  9. defaultZone: http://eureka-depot:9001/eureka/
  10. instance:
  11. prefer-ip-address: true
  12. spring:
  13. application:
  14. name: depot-business
  15. #配置中心配置
  16. cloud:
  17. config:
  18. #使用discovery 时需要将eureka 写到该文件中,开发环境使用该方式,推荐使用。
  19. discovery:
  20. enabled: true
  21. service-id: depot-config-server
  22. profile: dev
  23. label: master