dmt-client/docker-compose.sh
Toporkov Igor 6bb0b65a18
MSPF-438: Erlang 21 (#28)
* Revert "DC-116: Revert "Add Erlang 21 support (#24)" (#25)"

This reverts commit 97fdfe552c.

* Added hay metrics, updated to new deps

* Removed redundant configs

* Customizable event_handlers

* renamed event_handlers option
2019-05-07 17:31:16 +03:00

37 lines
965 B
Bash
Executable File

#!/bin/bash
cat <<EOF
version: '2.1'
services:
${SERVICE_NAME}:
image: ${BUILD_IMAGE}
volumes:
- .:$PWD
- $HOME/.cache:/home/$UNAME/.cache
working_dir: $PWD
command: /sbin/init
depends_on:
dominant:
condition: service_healthy
dominant:
image: dr.rbkmoney.com/rbkmoney/dominant:410e9d8cd821b3b738eec2881e7737e021d9141b
command: /opt/dominant/bin/dominant foreground
depends_on:
machinegun:
condition: service_healthy
healthcheck:
test: "curl http://localhost:8022/"
interval: 5s
timeout: 1s
retries: 12
machinegun:
image: dr2.rbkmoney.com/rbkmoney/machinegun:7e6c4251a801cc00dbf8340c723010d68e2d86f1
command: /opt/machinegun/bin/machinegun foreground
volumes:
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
healthcheck:
test: "curl http://localhost:8022/"
interval: 5s
timeout: 1s
retries: 12
EOF