mirror of
https://github.com/valitydev/machinery-erlang.git
synced 2024-11-06 00:35:19 +00:00
81b0cb3ffe
* Use more recent versions of build_utils, build image tag and few dependencies in rebar.lock * Test with more recent version of machinegun * Fix type of transport_opts from woody_client/0 type (map) * Rename net_opts from woody_server_config/0 type (map) to protocol_opts * Add optional transport_opts to woody_server_config/0 type
29 lines
637 B
Bash
Executable File
29 lines
637 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: dr.rbkmoney.com/rbkmoney/machinegun:5e26162266a3bcf857852cb7844e5626fb0ebf7a
|
|
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: 20
|
|
|
|
EOF
|