Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Ouvill/graphql-voyager-docker

Repository files navigation

GraphQL Voyager Docker

Docker image for GraphQL Voyager

Usage

Connect to a GraphQL endpoint

docker run -p 8080:80 -e ENDPOINT_URL=http://localhost:3000/graphql ouvill/graphql-voyager

Use a Schema from environment variable

docker run -p 8080:80 -e SCHEMA="$(cat schema.graphql)" ouvill/graphql-voyager

Use a local schema file

docker run -p 8080:80 -v $(pwd)/schema.graphql:/app/schema.graphql ouvill/graphql-voyager

The order of preference is endpoint > environment variables > local files.