Cannot get a distributed deployment to work on docker

I’m not too familiar with docker compose files, but this looks a bit suspicious to me:

--peer "zero:8888" \

Try localhost instead of zero.