Skip to content

Instantly share code, notes, and snippets.

@mauricioklein
Created May 27, 2015 16:20
Show Gist options
  • Save mauricioklein/e40cfdbbda912f59c311 to your computer and use it in GitHub Desktop.
Save mauricioklein/e40cfdbbda912f59c311 to your computer and use it in GitHub Desktop.
Exemple of docker-compose.yml with port forwarding
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