Does that mean it won’t work with
command: dgraph server --my=server:7080 --lru_mb=2048 --zero=zero:5080 --whitelist=172.20.0.1:172.20.0.1
? After adding that to the docker-compose file the unauthorized error message stopped, and I instead got this error message:
{"errors":[{"code":"rpc error: code = Unknown desc = Assigning IDs is only allowed on leader.","message":"Export failed."}]}
Edit: I’ve also tried to enter the docker container (dgraph server) and run the curl localhost:8080/admin/export command, which resulted in the same “Assign IDs is only allowed on leader” message.