mirror of
https://github.com/valitydev/dmt-client.git
synced 2024-11-06 01:15:22 +00:00
24e3aad9ce
* Bump to rbkmoney/genlib@1ca0879 * Bump to rbkmoney/dominant@6896d15 service image * Bump to rbkmoney/machinegun@b366973 service image Co-authored-by: Toporkov Igor <i.toporkov@rbkmoney.com>
38 lines
1.0 KiB
Bash
Executable File
38 lines
1.0 KiB
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: dr2.rbkmoney.com/rbkmoney/dominant:6896d15357e87eb3de47d3e1aabcb1444e9c4f90
|
|
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:b366973cec80a4d326840660405e50a3cac6cded
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
volumes:
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 12
|
|
EOF
|