Created
July 7, 2016 16:32
-
-
Save mikolajb/bd642a18a5c8581a5cb2be093a864c43 to your computer and use it in GitHub Desktop.
Docker network issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
services: | |
one: | |
image: python:slim | |
command: python -m http.server 9999 | |
ports: | |
- 9999:9999 | |
networks: | |
- a | |
- b | |
networks: | |
a: | |
driver_opts: | |
com.docker.network.bridge.host_binding_ipv4: ${NETWORK} | |
b: | |
driver_opts: | |
com.docker.network.bridge.host_binding_ipv4: ${NETWORK} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment