Created
May 27, 2015 16:20
-
-
Save mauricioklein/e40cfdbbda912f59c311 to your computer and use it in GitHub Desktop.
Exemple of docker-compose.yml with port forwarding
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
api: | |
image: ruby | |
links: | |
- db | |
ports: | |
- "3000:3000" | |
db: | |
image: postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment