GraphQL schema registry
3.3K
docker pull artjomkurapov/graphql-schema-registry:5.5.0
docker run -e DB_HOST=localhost -e DB_USERNAME=root -e DB_PORT=6000 -p 6001:3000 artjomkurapov/graphql-schema-registry
If you're interested what how image is built, see https://github.com/tot-ra/graphql-schema-registry/blob/master/Dockerfile.CI
Although source code of the repository follows MIT license, starting from v5.0.0, docker image is bundling @apollo/composition library that belongs to Apollo Graph Inc. and it is distributed under ELv2 license, which sets same limitations on how you can use this docker image (that you cannot build a commercial cloud service on top of this)
| Variable Name | Description | Default |
|---|---|---|
| DB_HOST | Host name of the MySQL server | gql-schema-registry-db |
| DB_USERNAME | Username to connect to MySQL | root |
| DB_SECRET | Password used to connect to MySQL | root |
| DB_PORT | Port used when connecting to MySQL | 3306 |
| DB_NAME | Name of the MySQL database to connect to | schema-registry |
| DB_EXECUTE_MIGRATIONS | Controls whether DB migrations are executed upon registry startup or not | true |
| ASSETS_URL | Controls the url that web assets are served from | localhost:6001 |
| NODE_ENV | Specifies the environment. Use production to load js/css from dist/assets | Empty |
| ASYNC_SCHEMA_UPDATES | Specifies if async achema updates is enabled | false |
| KAFKA_BROKER_HOST | Host name of the Kafka broker, used if ASYNC_SCHEMA_UPDATES = true | gql-schema-registry-kafka |
| KAFKA_BROKER_PORT | Port used when connecting to Kafka, used if ASYNC_SCHEMA_UPDATES = true | 9092 |
| KAFKA_SCHEMA_TOPIC | Topic with new schema | graphql-schema-updates |
| KAFKA_QUERIES_TOPIC | Topic with new schema | graphql-queries |
| LOG_LEVEL | Minimum level of logs to output | info |
| LOG_TYPE | Output log type, supports pretty or json. | pretty |
| LOG_STREAMING_ENABLED | Controls whether logs are streamed over Redis to be presented in UI | true |
| REDIS_HOST | Host name of the Redis server | gql-schema-registry-redis |
| REDIS_PORT | Port used when connecting to Redis | 6379 |
| REDIS_SECRET | Password used to connect to Redis | Empty |
Content type
Image
Digest
sha256:9cba038e9…
Size
74.6 MB
Last updated
over 3 years ago
docker pull artjomkurapov/graphql-schema-registry