
* Removed old scripts * Added docker-compose files * Added .dockerignore * Updated Docker docs * Added cloud-flow container to docker-compose * PostgreSQL and MySQL were supported Change-Id: Ia7b6d7faaff6d9aa0f02d64d569250f6a9ee59ea Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
111 lines
2.3 KiB
YAML
111 lines
2.3 KiB
YAML
version: '3'
|
|
services:
|
|
mistral-api:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
BUILD_V8EVAL: "false"
|
|
BUILD_TEST_DEPENDENCIES: "false"
|
|
restart: always
|
|
ports:
|
|
- "8989:8989"
|
|
networks:
|
|
- database
|
|
- message-broker
|
|
- mistral
|
|
env_file:
|
|
- mistral.env
|
|
# volumes:
|
|
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
|
|
environment:
|
|
- MISTRAL_SERVER=api
|
|
- UPGRADE_DB=true
|
|
|
|
mistral-engine:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
BUILD_V8EVAL: "false"
|
|
BUILD_TEST_DEPENDENCIES: "false"
|
|
restart: always
|
|
networks:
|
|
- database
|
|
- message-broker
|
|
env_file:
|
|
- mistral.env
|
|
# volumes:
|
|
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
|
|
environment:
|
|
- MISTRAL_SERVER=engine
|
|
|
|
mistral-executor:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
BUILD_V8EVAL: "false"
|
|
BUILD_TEST_DEPENDENCIES: "false"
|
|
restart: always
|
|
networks:
|
|
- message-broker
|
|
env_file:
|
|
- mistral.env
|
|
# volumes:
|
|
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
|
|
environment:
|
|
- MISTRAL_SERVER=executor
|
|
|
|
mistral-event-engine:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
BUILD_V8EVAL: "false"
|
|
BUILD_TEST_DEPENDENCIES: "false"
|
|
restart: always
|
|
networks:
|
|
- database
|
|
- message-broker
|
|
env_file:
|
|
- mistral.env
|
|
# volumes:
|
|
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
|
|
environment:
|
|
- MISTRAL_SERVER=event-engine
|
|
|
|
mistral-notifier:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
BUILD_V8EVAL: "false"
|
|
BUILD_TEST_DEPENDENCIES: "false"
|
|
restart: always
|
|
networks:
|
|
- database
|
|
- message-broker
|
|
env_file:
|
|
- mistral.env
|
|
# volumes:
|
|
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
|
|
environment:
|
|
- MISTRAL_SERVER=notifier
|
|
|
|
cloud-flow:
|
|
image: mcdoker18/cloud-flow:0.5.0
|
|
restart: always
|
|
networks:
|
|
- mistral
|
|
ports:
|
|
- "8000:8000"
|
|
networks:
|
|
- mistral
|
|
environment:
|
|
- CF_MISTRAL_URL=http://mistral-api:8989
|
|
|
|
networks:
|
|
database:
|
|
message-broker:
|
|
mistral: |