Docker service stores versioned subgraph schemas, composes supergraphs for gateways, validates compatibility, and offers a schema history UI.
Overview
GraphQL Schema Registry is an on-premise service for federated GraphQL gateways built on Apollo-style federation. It stores versioned SDL per service, composes supergraph schemas for gateway fetch, and validates new schemas against running services before production breaks.
Apollo Federation v1 and v2 are supported. Service URLs can be registered for managed-federation-style discovery instead of hardcoding endpoints or separate service registries. Async query usage analysis and event publishing aim to reduce breaking changes and speed supergraph updates.
Automatic persisted queries from the gateway are stored and visible in the UI. Components include the registry API, PostgreSQL, Redis, and an optional query analyzer worker. Configuration is environment-driven for databases, Redis channels, logging, and asset URLs.
Operators install via published Docker images or docker-compose with Postgres and Redis. A React client browses schema history and diffs; REST endpoints cover push, validate, compose, diff, and health checks.
Key features
- Versioned federated schema storage
- Supergraph compose for gateways
- Schema compatibility validation
- Web UI with history diff
- Dynamic service URL discovery
- Apollo Federation v1 and v2
- Async query usage analysis
- Automatic persisted query storage
Use cases
- Self-hosted Apollo Studio replacement
- Federated gateway schema governance
- Pre-deploy schema validation
- Multi-service GraphQL operations
Open-source alternative to
AApollo Studio“Graphql schema storage as dockerized on-premise service for federated graphql gateway server (based on apollo server) as alternative to Apollo studio, The Guild's Hive, WunderGraph” source