version: '3'
services:
  mistral:
    build:
      context: ../../..
      dockerfile: "tools/docker/Dockerfile"
      args:
        BUILD_TEST_DEPENDENCIES: "false"
    restart: always
    ports:
      - "8989:8989"
    networks:
      - database
      - message-broker
      - identity-provider
      - cloud-flow
    env_file:
     - mistral.env
#    volumes:
#      - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
    environment:
      - UPGRADE_DB=true