GraphQL Protect provides a container image for your convenience. You can use this container image as is.
You may supply configuration files, port mappings and other mounts for the functionalities provided.
docker pull ghcr.io/ldebruijn/graphql-protect:latestdocker run -p 8080:8080 -v $(pwd)/protect.yml:/app/protect.yml -v $(pwd)/schema.graphql:/app/schema.graphql ghcr.io/ldebruijn/graphql-protect:latestThis mounts the necessary configuration and schema files from your local filesystem onto your container, and exposes port 8080 to the host machine.
If you want to reach a process on the host machine, be sure to use host.docker.internal as the hostname for the proxy target, instead of localhost.
If you want to reach another container, be sure the two containers are in the same container network to be able to communicate with each other.