I’m an idiot… I had used localhost:8080/export instead of localhost:8080/admin/export… Also felt it didn’t seem like an error message but you replied before I had the chance to update the post (:
After using the correct command then I got the following error:
{"errors":[{"code":"ErrorUnauthorized","message":"Request from IP: 172.20.0.1"}]}
So I updated the dockerly-compose file, perhaps incorrectly, to this (just changed image versions and added --whitelist to dgraph server):
version: "3.2"
services:
zero:
image: dgraph/dgraph:v1.0.7
volumes:
- ./_dgraphdata:/dgraph
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
server:
image: dgraph/dgraph:v1.0.7
volumes:
- ./_dgraphdata:/dgraph
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph server --my=server:7080 --lru_mb=2048 --zero=zero:5080 --whitelist=172.20.0.1:172.20.0.1
ratel:
image: dgraph/dgraph:v1.0.7
ports:
- 8000:8000
command: dgraph-ratel
Which results in the following error:
{"errors":[{"code":"rpc error: code = Unknown desc = Assigning IDs is only allowed on leader.","message":"Export failed."}]}