sequences/docker-compose.sh
Andrey Fadeev ca85ab0915
Update libs and erlang (#9)
* Update images and deps to erlang 21
* Update machinegun_proto
2019-05-23 14:32:47 +03:00

29 lines
638 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:
machinegun:
condition: service_healthy
machinegun:
image: dr2.rbkmoney.com/rbkmoney/machinegun:90e5355f6aeb286cece66b81b1d958e0f1ee2849
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