Last active
August 19, 2016 02:46
-
-
Save mbentley/d2de9c765e3fd5fbab1522488aadba33 to your computer and use it in GitHub Desktop.
Docker Network Example
This file contains hidden or 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: | |
app1: | |
image: alpine:latest | |
command: ping app2 | |
networks: | |
- discovery-demo | |
app2: | |
image: alpine:latest | |
command: ping app1 | |
networks: | |
- discovery-demo | |
networks: | |
discovery-demo: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment