worstcase / blockade

Docker-based utility for testing network failures and partitions in distributed applications

Home Page:http://blockade.readthedocs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multiple ports and networks in blockade.yml

magg opened this issue · comments

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

bitcoin2:
image: bitcoinnetwork_bitcoin2
ports:
- {19200: 19200}
- {19201: 19201}
networks:
- front-tier
- back-tier
container_name: bitcoin2

something like this does not work?

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!