I buy a centos server, install docker, run the install command below:
docker run --rm -it -p "8080:8080" -p "9080:9080" -p "8000:8000" -v ~/dgraph:/dgraph "dgraph/standalone:v21.03.2"
it works fine, then I try to access ratel at http://my-server-ip:8000, get error:
what I missed?
by the way, the zero and alpha works fine, for I can run query with curl command in the local dev.
You can remove the port 8000 from the docker command(cuz there’s no Ratel binary in that image) and use https://play.dgraph.io/ instead.
OR you can use the Ratel image Docker Hub
yes it works
but how to connect to it? what’s is the password?
ACL only needs to be logged in if you have enabled it and will use ACL (which is an enterprise feature).
but the continue button is disabled now, and it looks like the endpoint is not available, how to continue?
I never meet this problem in local development environment
This is probably a know issue called “Google”. They have altered the rules of the browser connecting with something outside the local network. This is “CORS”. In this case, you should use the Ratel image instead. And also always in the same network and IP range.