application.yml 829 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. spring:
  2. application:
  3. name: api-gateway
  4. zuul:
  5. ignored-services: "*"
  6. prefix: /api
  7. routes:
  8. icd-search:
  9. path: /icd/**
  10. url: "http://${URL}"
  11. strip-prefix: false
  12. hystrix:
  13. command:
  14. ignored-services:
  15. execution:
  16. isolation:
  17. strategy: THREAD
  18. thread:
  19. timeoutInMilliseconds: 61000
  20. ribbon:
  21. MaxAutoRetries: 3
  22. eureka:
  23. enabled: false
  24. ConnectTimeout: 60000
  25. ReadTimeout: 60000
  26. # icd-search:
  27. # ribbon:
  28. # eureka:
  29. # enabled: true
  30. # NIWSServerListClassName: com.netflix.niws.loadbalancer.DiscoveryEnabledNIWSServerList
  31. # ConnectTimeout: 50000
  32. # ReadTimeout: 50000
  33. # MaxTotalHttpConnections: 500
  34. # MaxConnectionsPerHost: 100
  35. # docker container run -e "DOCKER_HOST=$(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+')"