Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple ports and networks in blockade.yml #57

Open
magg opened this issue Jan 9, 2017 · 1 comment
Open

multiple ports and networks in blockade.yml #57

magg opened this issue Jan 9, 2017 · 1 comment

Comments

@magg
Copy link

magg commented Jan 9, 2017

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?

@labisso
Copy link
Member

labisso commented Jan 10, 2017

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants