Created
September 9, 2015 02:27
-
-
Save clalimarmo/d4aa4e944e0b7e9a4e10 to your computer and use it in GitHub Desktop.
Rails development environment with Docker (step 2 - postgres)
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
web: | |
build: ./ | |
command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
volumes: | |
- .:/app | |
ports: | |
- "3000:3000" | |
links: | |
- db | |
db: | |
image: postgres:9.4 | |
expose: | |
- "5432" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment