littleone
(小一 王)
December 20, 2021, 5:14pm
1
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.
MichelDiz
(Michel Diz)
December 20, 2021, 11:39pm
2
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
1 Like
littleone
(小一 王)
December 22, 2021, 1:37am
3
yes it works
but how to connect to it? what’s is the password?
MichelDiz
(Michel Diz)
December 22, 2021, 2:59am
4
ACL only needs to be logged in if you have enabled it and will use ACL (which is an enterprise feature).
littleone
(小一 王)
December 22, 2021, 4:25am
5
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
MichelDiz
(Michel Diz)
December 22, 2021, 6:56am
6
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.
1 Like