Hi guys. I have a Dgraph standalone running on Docker. The Docker Compose config is this one:
I used the “docker cp” to move a data.json and a test.schema to inside my container. I entered then in the container and executed the following command:
dgraph bulk -f data.json -s test.schema
The problem is that I’m getting:
2020/12/14 14:29:47 listen tcp 127.0.0.1:8080: bind: address already in use
I don’t know how to solve it since we will have Dgraph running on a Kubernetes cluster thus it needs to be running on containers. Also, I’m thinking about running in production something like this on my host:
docker exec e89dbc4ee96a -c ‘dgraph -f data.json -s test.schema’
Are there other options?