worstcase / blockade

Docker-based utility for testing network failures and partitions in distributed applications
http://blockade.readthedocs.org
Apache License 2.0
907 stars 72 forks source link

multiple ports and networks in blockade.yml #57

Open magg opened 7 years ago

magg commented 7 years ago

is there a way to expose multiple ports and networks in blockade?

bitcoin2: image: bitcoinnetwork_bitcoin2 ports:

something like this does not work?

labisso commented 7 years ago

you can specify multiple ports for a container, like:

ports: {19200: 19200, 19201: 19201}

However there is no support for multiple networks. What is your use case? I don't have a need for this at the moment, but I will consider it for a future enhancement. Thanks!