docker-compose.yaml 604 B

1234567891011121314151617181920212223242526
  1. version: '3'
  2. services:
  3. router:
  4. container_name: router
  5. image: ghcr.io/apollographql/router:v1.24.0
  6. volumes:
  7. - ./prod-schema.graphql:/etc/config/supergraph.graphql:ro
  8. - ./router.yaml:/etc/config/configuration.yaml:ro
  9. command:
  10. [
  11. "-c",
  12. "/etc/config/configuration.yaml",
  13. "-s",
  14. "/etc/config/supergraph.graphql",
  15. "--log",
  16. "info",
  17. "--hot-reload",
  18. "--anonymous-telemetry-disabled",
  19. "--listen",
  20. "0.0.0.0:8080"
  21. ]
  22. ports:
  23. - "8080:8080"
  24. - "9090:9090"
  25. restart: unless-stopped