gateway
gateway copied to clipboard
provide docker image
Is it planning for the future to provide an official docker image for this project? I think It would be very convenient.
Most definitely! I was holding off until I understood a little bit better how the gateway was being used. My hunch is that for more usecases a custom binary will have to be built, reducing the usefulness of a pre-build docker image apart from quick demos
Hello! First of all, thanks for this great library. It's unfortunate that I didn't find it earlier as I'm currently migrating multiple services from Node.js to Go and gateway was the last piece of the puzzle. And this library looks like win:win situation 🎉.
I'm currently using my version of Node.js gateway (basic schema stitching) that can be found here: https://github.com/graphql-services/graphql-gateway ...I created implementation of nautilus version (branch feature/nautilus-gateway
) and if you want to use docker image until this repository has official one, feel free:
docker run --rm -it -p 8080:80 -e GRAPHQL_URL=https://example.com/graphql graphql/gateway:feature-nautilus-gateway
I just successfully deployed it to one of our test environments and it seems to work smoothly :)
Thanks for the positive feedback! I'm happy to know that this library is helping you out!
Please let me know if you run into any problems. I don't have a huge amount of time for feature requests atm but I can definitely work on bugs that pop up.
I would like to use this project as a docker image to make a gateway between different services in a docker-compose stack.
To be used like that it needs
- CORS support, configured via env
- URLS via env
- Ability to forward headers
- Ability to wait until urls are reachable (until a TIMEOUT given via env)
@AlecAivazis do you agree?
I would be happy to contribute
Hey @remorses - thanks for the +1 for a docker image. I think you're right that what you outlined would cover most peoples' requirements. It would also be a great way for people to get started with the gateway if they already have docker installed.
If you or @danielvladco want to put something together, I would love to review it!