Created
May 16, 2017 17:13
-
-
Save lukaszsagol/ff4d4569870abaab693a3172867cb35c to your computer and use it in GitHub Desktop.
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
version: '2' | |
services: | |
web: | |
build: | |
context: ./ | |
dockerfile: Dockerfile | |
volumes: | |
- ./:/code | |
ports: | |
- 4000:4000 | |
tty: true | |
depends_on: | |
- postgres | |
links: | |
- postgres | |
postgres: | |
image: postgres | |
environment: | |
POSTGRES_PASSWORD: password | |
ports: | |
- 5432 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment