router.yaml 697 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. include_subgraph_errors:
  10. all: true
  11. headers:
  12. all:
  13. request:
  14. - propagate:
  15. named: "Authorization"
  16. - propagate:
  17. named: "X-Instance-ID"
  18. cors:
  19. origins:
  20. - http://localhost:3000
  21. traffic_shaping:
  22. deduplicate_variables: true
  23. router:
  24. timeout: 15s
  25. global_rate_limit:
  26. capacity: 1000
  27. interval: 1s
  28. telemetry:
  29. metrics:
  30. common:
  31. service_name: "gateway"
  32. service_namespace: "craft"
  33. prometheus:
  34. listen: 0.0.0.0:9090
  35. path: /metrics
  36. enabled: true