Skip to content

Instantly share code, notes, and snippets.

@lukaszsagol
Created May 16, 2017 17:13
Show Gist options
  • Save lukaszsagol/ff4d4569870abaab693a3172867cb35c to your computer and use it in GitHub Desktop.
Save lukaszsagol/ff4d4569870abaab693a3172867cb35c to your computer and use it in GitHub Desktop.
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