About dgraph alpha --my port in docker compose yaml

Yes, the my flag uses the port for internal communication which is by default 7080 for Alpha nodes and 5080 for Zero nodes. This port is used by alpha to communicate with other Alpha and zero servers. 8080 is the port Alpha uses for serving HTTP requests whereas 9080 is used for serving gRPC requests for the client.

1 Like