bootstrap.yml 460 B

123456789101112131415161718192021222324252627
  1. server:
  2. port: 9999
  3. spring:
  4. application:
  5. name: pigx-gateway
  6. # 配置中心
  7. cloud:
  8. config:
  9. fail-fast: true
  10. name: ${spring.application.name}
  11. profile: ${spring.profiles.active}
  12. discovery:
  13. enabled: true
  14. service-id: pigx-config
  15. profiles:
  16. active: dev
  17. # 注册中心
  18. eureka:
  19. instance:
  20. prefer-ip-address: true
  21. client:
  22. service-url:
  23. defaultZone: http://pig:pig@192.168.0.20:1025/eureka/