bootstrap.yml 410 B

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