version: '3'
services:
  db:
    image: postgres:9.1.14
    environment:
      - POSTGRES_USER=dts_development
      - POSTGRES_PASSWORD=dts_development
      - POSTGRES_DB=dts_development
    ports:
      - "5432:5432"
  app:
    build: .
    volumes:
      - .:/app
    ports:
      - "3000:3000"
    links:
      - db
