router.yaml 746 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. sandbox:
  2. enabled: true
  3. homepage:
  4. enabled: false
  5. supergraph:
  6. introspection: true
  7. override_subgraph_url:
  8. auth: http://host.docker.internal:3128/query
  9. sports: http://host.docker.internal:3129/query
  10. include_subgraph_errors:
  11. all: true
  12. headers:
  13. all:
  14. request:
  15. - propagate:
  16. named: "Authorization"
  17. - propagate:
  18. named: "X-Instance-ID"
  19. cors:
  20. origins:
  21. - http://localhost:3000
  22. traffic_shaping:
  23. deduplicate_variables: true
  24. router:
  25. timeout: 15s
  26. global_rate_limit:
  27. capacity: 1000
  28. interval: 1s
  29. telemetry:
  30. metrics:
  31. common:
  32. service_name: "gateway"
  33. service_namespace: "craft"
  34. prometheus:
  35. listen: 0.0.0.0:9090
  36. path: /metrics
  37. enabled: true