Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free

Containerizing the GraphOS Router

Run router images in containers


Apollo provides container images of the that you can self-host and run with as . By containerizing the router, you can run it in a cluster and leverage the portability, scalability, and high availability benefits of containerization. Containers can also simplify and speed up local development.

NOTE

The Apollo Router Core source code and all its distributions are made available under the Elastic License v2.0 (ELv2) license.

About router container images

Apollo provides container images of the on GitHub in its container repository. The router images are based on debian:bullseye-slim, which is designed to provide constrained, secure, and small images.

Each release of the router includes both default (production) and debug images. While each image for a release contains the same build, the debug images have helpful debugging utilities installed and run the router under the control of heaptrack.

A router image has the following layout:

  • A /dist directory containing the router executable and licensing details
  • A dist/config directory containing a default configuration file, router.yaml
  • A /dist/schema directory for conveniently mounting a locally defined

Next steps

The default behavior of a router image is suitable for a basic deployment or development scenario.

For examples of customizing and deploying router images in specific environments, see the guides for:

Previous
Standard Instruments
Next
Deploy on Kubernetes
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company