5f89e2e71f
* Added new JavaScript evaluator py_mini_racer. Advantages: * is distributed as wheel package * supports differences platforms * live project * BUILD_V8EVAL was removed because it was replaced by py_mini_racer in Mistral Docker image * Added stevedore integration to javascript evaluators * Refreshed javascript tests. Add test for py_mini_racer evaluator * Install py_mini_racer library in during mistral test * Refreshed javascript action doc Change-Id: Id9d558b9b8374a2c2639e10cb1868f4e67f96e86 Implements: blueprint mistral-add-py-mini-racer-javascript-evaluator Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
106 lines
2.2 KiB
YAML
106 lines
2.2 KiB
YAML
version: '3'
|
|
services:
|
|
mistral-api:
|
|
build:
|
|
context: ../../..
|
|
dockerfile: tools/docker/Dockerfile
|
|
args:
|
|
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_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_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_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_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: |