Simple docker image for GraphQL voyager.
Create or extend your docker-compose.yml
configuration and start the app later
with: docker-compose up
.
version: '3.5'
services:
app:
image: natterstefan/graphql-voyager:dev
ports:
- '3000:3000'
environment:
# example url, must point to your graphql server/api
GRAPHQL_URL: http://localhost:8000
Now open Voyager at http://localhost:3000.
I use the lovely-gradle-plugin created by Lovely Systems to build and publish the docker image. It is simple and works like this:
# this will create a tag and push it to github
git tag <new-git-tag>
git push --tags
# creates a docker image and tags it with both `dev` and the latest tag
./gradlew buildDockerImage
# publishes the docker image to docker hub
./gradlew pushDockerImage
Stefan Natter 🤔 📖 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!