Sign inSign up

artjomkurapov/graphql-schema-registry

By artjomkurapov

Updated over 3 years ago

GraphQL schema registry

Image
0

3.3K

artjomkurapov/graphql-schema-registry repository overview

Installation

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

Dockerfile source

If you're interested what how image is built, see https://github.com/tot-ra/graphql-schema-registry/blob/master/Dockerfile.CI

License limitations

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)

Configuration

Variable NameDescriptionDefault
DB_HOSTHost name of the MySQL servergql-schema-registry-db
DB_USERNAMEUsername to connect to MySQLroot
DB_SECRETPassword used to connect to MySQLroot
DB_PORTPort used when connecting to MySQL3306
DB_NAMEName of the MySQL database to connect toschema-registry
DB_EXECUTE_MIGRATIONSControls whether DB migrations are executed upon registry startup or nottrue
ASSETS_URLControls the url that web assets are served fromlocalhost:6001
NODE_ENVSpecifies the environment. Use production to load js/css from dist/assetsEmpty
ASYNC_SCHEMA_UPDATESSpecifies if async achema updates is enabledfalse
KAFKA_BROKER_HOSTHost name of the Kafka broker, used if ASYNC_SCHEMA_UPDATES = truegql-schema-registry-kafka
KAFKA_BROKER_PORTPort used when connecting to Kafka, used if ASYNC_SCHEMA_UPDATES = true9092
KAFKA_SCHEMA_TOPICTopic with new schemagraphql-schema-updates
KAFKA_QUERIES_TOPICTopic with new schemagraphql-queries
LOG_LEVELMinimum level of logs to outputinfo
LOG_TYPEOutput log type, supports pretty or json.pretty
LOG_STREAMING_ENABLEDControls whether logs are streamed over Redis to be presented in UItrue
REDIS_HOSTHost name of the Redis servergql-schema-registry-redis
REDIS_PORTPort used when connecting to Redis6379
REDIS_SECRETPassword used to connect to RedisEmpty

Tag summary

Content type

Image

Digest

sha256:9cba038e9

Size

74.6 MB

Last updated

over 3 years ago

docker pull artjomkurapov/graphql-schema-registry