Last active
May 21, 2017 13:10
-
-
Save cmar/a22f58241dafbb9ae75ce7b73d9de582 to your computer and use it in GitHub Desktop.
docker-compose.yml
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
# add this file to your project and run | |
# docker-compose up | |
# point your database.yml to postgres on localhost:5432 | |
version: '2' | |
services: | |
db: | |
image: postgres | |
ports: | |
- "5432:5432" | |
environment: | |
- POSTGRES_USER=${USER} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment