centralisation des configurations des services utilitaires et des microservices avec spring cloud config server

12345678910111213141516171819202122232425262728
  1. spring:
  2. profiles:
  3. active:
  4. - dev
  5. datasource:
  6. username: root
  7. password: root
  8. jpa:
  9. show-sql: true
  10. hibernate:
  11. ddl-auto: update
  12. properties:
  13. hibernate:
  14. dialect: org.hibernate.dialect.MySQL8Dialect
  15. #to activate microservices to be discovered
  16. cloud:
  17. discovery:
  18. enabled: true
  19. #for microservices that interact with external microservices, this is to activate spring cloud circuit breaker resilience4j
  20. openfeign:
  21. circuitbreaker:
  22. enabled: true
  23. # to indicate where registry service is running on
  24. eureka:
  25. client:
  26. service-url:
  27. defaultZone: http://localhost:8761/eureka/
  28. # defaultZone: http://microservices-registration-service:8761/eureka/

Powered by TurnKey Linux.