scrtlabs / discovery-docker-network

Docker Network for the Discovery release of the Enigma Protocol
https://enigma.co
GNU Affero General Public License v3.0
21 stars 2 forks source link

More verbose p2p start #19

Closed lacabra closed 5 years ago

lacabra commented 5 years ago

Added output of the actual command that is run to start each p2p container, so that you get something like:

p2p_1       | Starting enigmalocal_p2p_1 with Ethereum Address: 0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1 and the following command:
p2p_1       | node cli_app.js -i B1 -b B1 -p B1 --core 192.168.64.8:5552 --ethereum-websocket-provider ws://192.168.64.4:9545 --ethereum-contract-address 0x59d3631c86BbE35EF041872d502F218A39FBa150 --proxy 3346 --random-db --principal-node http://192.168.64.5:3040 --ethereum-address 0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1 --auto-init

and

p2p_2       | Starting enigmalocal_p2p_2 with Ethereum Address: 0xffcf8fdee72ac11b5c542428b35eef5769c409f0 and the following command:
p2p_2       | node cli_app.js -b /ip4/192.168.64.9/tcp/10300/ipfs/QmcrQZ6RJdpYuGvZqD5QEHAv6qX4BrQLJLQPQUrTrzdcgm -n peer1 --core 192.168.64.7:5552 --ethereum-websocket-provider ws://192.168.64.4:9545 --ethereum-contract-address 0x59d3631c86BbE35EF041872d502F218A39FBa150 --proxy 3346 --random-db --principal-node http://192.168.64.5:3040 --ethereum-address 0xffcf8fdee72ac11b5c542428b35eef5769c409f0 --auto-init

Cc: @lenak25. After pulling these changes, remember to run docker-compose run p2p to update the p2p image so that it picks up this change.