gangachris
7/10/2016 - 1:37 AM

docker-compose.yml

version: '2'  
services:

  app:
    build: .
    ports:
      - "8000:8000"
    volumes:
      - .:/opt/app
    links:
      - database
    depends_on:
      - database

  database:
    image: postgres
    environment:
      POSTGRES_PASSWORD: secret
      POSTGRES_USER: homestead
      POSTGRES_DB: homestead
    ports:
      - 5432