mistral/tools/docker/docker-compose/mistral-multi-node.yaml
Vitalii Solodilov 214828ace2 Keycloak and Docker
* Added Keycloak to the infrastructure yaml which uses a
h2 not to complicate the installation.
* Updated the docker-compose docs.
* Move Cloud Flow image to the infrastructure yaml.

Change-Id: I2a69ca91c1638e5fd070c77ca63c8d5586887231
Signed-off-by: Vitalii Solodilov <mcdkr@yandex.ru>
2018-07-31 14:07:42 +00:00

97 lines
2.1 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:
identity-provider:
cloud-flow:
aliases:
- 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
- identity-provider
- 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
- identity-provider
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
- identity-provider
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
- identity-provider
env_file:
- mistral.env
# volumes:
# - "/path/to/mistral.conf:/etc/mistral/mistral.conf"
environment:
- MISTRAL_SERVER=notifier