version: '2'

services:
  nginx:
    image: prontotools/ztm-nginx
    ports:
      - 8080:80
    volumes:
      - ./zendesk_tickets_machine/staticfiles:/static
    depends_on:
      - app

  app:
    image: prontotools/ztm-app
    volumes:
      - ./zendesk_tickets_machine/staticfiles:/app/zendesk_tickets_machine/staticfiles
    env_file:
      - .env
    depends_on:
      - db

  db:
    image: postgres:9.6.1-alpine
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=ztm

Add compose file for production
Add compose file for production
