version: '3'

services:

  postgres:
    image: postgres:9.6
    restart: always
    networks:
      - default
    ports:
      - 6543:5432

  grady:
    image: docker.gitlab.gwdg.de/j.michal/grady:master
    command:
      - ./deploy.sh
    depends_on:
      - postgres
    restart: always
    networks:
      - default
    expose:
      - "8000"
    ports:
      - "8000:8000"
