version: '3'

services:

  master:
    image: nogamespy-vietcong:dev
    build:
      dockerfile: Dockerfile-dev
    volumes:
      - .:/app

  heartbeat:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

  celery_worker:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

  celery_beat:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

version: '3'

services:

  master:
    image: nogamespy-vietcong:dev
    build:
      dockerfile: Dockerfile-dev
    volumes:
      - .:/app

  heartbeat:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

  celery_worker:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

  celery_beat:
    image: nogamespy-vietcong:dev
    volumes:
      - .:/app

  db:
    environment:
      - POSTGRES_HOST_AUTH_METHOD=trust

Allow all connections to DB when developing.
Allow all connections to DB when developing.
