Prisma1: Port bindings for local deployment

Created on 12 Oct 2017  路  5Comments  路  Source: prisma/prisma1

Are there other options than 0.0.0.0 and 127.0.0.1? Could it be configurable?

See https://github.com/graphcool/graphcool/issues/766#issuecomment-335972452 and https://github.com/graphcool/graphcool/issues/752#issuecomment-335032432.

kinfeature arecli rf1-draft

Most helpful comment

I think this could really use a walk through from the core team for Docker Toolbox, the new features are almost impossible to use when you're on a windows 7 pc with docker toolbox which uses virtualbox.
It seems as if the command line or the local service is unreachable to the docker virtualbox, therefore sends the user in a medley of loops for authentication when trying to deploy a local project to docker.

For starters, I believe the internals of the local cluster are still expecting http://localhost:60001 , where the application is not available at localhost it's available at the docker machine's ip address which in this cases happens to be something along the lines of 192.168.99.100 or something else.

All 5 comments

I think the easiest option is make this configurable using an environment variable or command-line parameter.

I think this could really use a walk through from the core team for Docker Toolbox, the new features are almost impossible to use when you're on a windows 7 pc with docker toolbox which uses virtualbox.
It seems as if the command line or the local service is unreachable to the docker virtualbox, therefore sends the user in a medley of loops for authentication when trying to deploy a local project to docker.

For starters, I believe the internals of the local cluster are still expecting http://localhost:60001 , where the application is not available at localhost it's available at the docker machine's ip address which in this cases happens to be something along the lines of 192.168.99.100 or something else.

I confirmed @rwatts3 hunch this evening by enabling debug mode on Mac with Docker Toolbox and found the initial graphcool local up command was pinging http://localhost:60000/system and my system is only responding on the docker-machine IP of 192.168.99.100:60000, which I know as if I hit that /system page in the browser at that IP address I do get the working Playground.

I am new to Docker, currently, is there a way to graphcool local up using 0.0.0.0 rather than localhost?

This issue has been moved to graphcool/graphcool-framework.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marktani picture marktani  路  3Comments

notrab picture notrab  路  3Comments

jannone picture jannone  路  3Comments

AlessandroAnnini picture AlessandroAnnini  路  3Comments

schickling picture schickling  路  3Comments