Hi,
I am using DGraph 1.0.3 (Windows 10), till last year its working properly but when I open localhost:8000 it says an error The requested resource has not been defined NT-ware MOM HTTP Server
On hitting the url https://localhost:8080/ I am getting below output.
Dgraph browser is available for running separately using the dgraph-ratel binary
And the URL is redirected to https://localhost:8443/
Can anyone help me on this.
@dmai
Thanks.
Hi Aman,
I just tried using docker-compose on windows 10. Here is my docker-compose file -
version: "3.0"
services:
alpha1:
image: dgraph/dgraph
container_name: alpha1
working_dir: /working/alpha1
labels:
cluster: flock-cluster
ports:
- 8080:8080
- 9080:9080
command: dgraph alpha -p /data/alpha1/p -w /data/alpha1/w -o 100 --my=alpha1:7180 --lru_mb=1024
--zero=zero1:5080 --logtostderr -v=2
alpha2:
image: dgraph/dgraph
container_name: alpha2
working_dir: /working/alpha2
depends_on:
- alpha1
labels:
cluster: flock-cluster
ports:
- 8082:8082
- 9082:9082
command: dgraph alpha -p /data/alpha2/p -w /data/alpha2/w -o 102 --my=alpha2:7182 --lru_mb=1024
--zero=zero1:5080 --logtostderr -v=2
alpha3:
image: dgraph/dgraph
container_name: alpha3
working_dir: /working/alpha3
depends_on:
- alpha2
labels:
cluster: flock-cluster
ports:
- 8083:8083
- 9083:9083
command: dgraph alpha -p /data/alpha3/p -w /data/alpha3/w -o 103 --my=alpha3:7183 --lru_mb=1024
--zero=zero1:5080 --logtostderr -v=2
zero1:
image: dgraph/dgraph
container_name: zero1
working_dir: /working/zero1
labels:
cluster: flock-cluster
ports:
- 5080:5080
- 6080:6080
command: dgraph zero -w /data/zero1/zw -o 0 --idx=1 --my=zero1:5080 --replicas=3
--logtostderr -v=2 --bindall
zero2:
image: dgraph/dgraph
container_name: zero2
working_dir: /working/zero2
depends_on:
- zero1
labels:
cluster: flock-cluster
ports:
- 5082:5082
- 6082:6082
command: dgraph zero -w /data/zero2/zw -o 2 --idx=2 --my=zero2:5082 --replicas=3
--logtostderr -v=2 --peer=zero1:5080
zero3:
image: dgraph/dgraph
container_name: zero3
working_dir: /working/zero3
depends_on:
- zero2
labels:
cluster: flock-cluster
ports:
- 5083:5083
- 6083:6083
command: dgraph zero -w /data/zero3/zw -o 3 --idx=3 --my=zero3:5083 --replicas=3
--logtostderr -v=2 --peer=zero1:5080
ratel:
image: dgraph/dgraph
container_name: ratel
depends_on:
- alpha1
labels:
cluster: flock-cluster
ports:
- 8000:8000
command: dgraph-ratel
volumes: {}
If you to http://localhost:8000/ , I am able to run ratel and run queries on it.
Thanks
1 Like
MichelDiz
(Michel Diz)
July 2, 2019, 2:39pm
3
This means that Dgraph is running.
Never saw that error before. But try to change the port
./dgraph-ratel -port 3300
1 Like
Thanks @MichelDiz it worked.
Might be some other process is using that port.
Thanks again.
@amanmangal , I don’t know what exactly is running on 8000, but after I changed the ratel-ui port to 3300 its working fine.
1 Like