s
Created
October 13, 2016 13:01
-
-
Save ogavrisevs/27d9711ad1d5ae8c975f521f8c6e8b4c to your computer and use it in GitHub Desktop.
Networking in container
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: | |
frontend: | |
image: httpd | |
ports: | |
- "80" | |
networks: | |
bridge: | |
aliases: | |
- frontend.localhost.com | |
backend: | |
image: centos:latest | |
command: sleep 36000 | |
networks: | |
bridge: | |
aliases: | |
- centos72.localhost.com | |
networks: | |
bridge: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment