application-prod.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. spring:
  2. cloud:
  3. nacos:
  4. config:
  5. password:
  6. username:
  7. discovery:
  8. server-addr: 172.30.0.7:8848
  9. service: jeecg-gateway
  10. namespace:
  11. gateway:
  12. discovery:
  13. locator:
  14. enabled: true
  15. globalcors:
  16. cors-configurations:
  17. '[/**]':
  18. allowCredentials: true
  19. allowedOrigins: "*"
  20. allowedMethods: "*"
  21. allowedHeaders: "*"
  22. routes:
  23. - id: jeecg-system
  24. uri: lb://jeecg-system
  25. predicates:
  26. - Path=/jeecg-boot/**
  27. - id: jeecg-bytedance-ad
  28. uri: lb://jeecg-bytedance-ad
  29. predicates:
  30. - Path=/bytedance/ad/**
  31. # hystrix 信号量隔离,3秒后自动超时
  32. hystrix:
  33. enabled: true
  34. shareSecurityContext: true
  35. command:
  36. default:
  37. execution:
  38. isolation:
  39. strategy: SEMAPHORE
  40. thread:
  41. timeoutInMilliseconds: 3000
  42. jeecg:
  43. route:
  44. config:
  45. data-id: mate-gateway-router
  46. group: DEFAULT_GROUP
  47. data-type: yml