bender-client-erlang/compose.yaml
Aleksey Kashapov d8837617c8
TD-686: Bumps woody deps (#7)
* Bumps CI action
2023-10-25 14:11:15 +03:00

43 lines
1.0 KiB
YAML

services:
testrunner:
image: $DEV_IMAGE_TAG
build:
dockerfile: Dockerfile.dev
context: .
args:
OTP_VERSION: $OTP_VERSION
THRIFT_VERSION: $THRIFT_VERSION
volumes:
- .:$PWD
depends_on:
machinegun:
condition: service_healthy
bender:
condition: service_healthy
working_dir: $PWD
command: /sbin/init
machinegun:
image: ghcr.io/valitydev/machinegun:sha-5c0db56
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: "/opt/machinegun/bin/machinegun ping"
interval: 5s
timeout: 1s
retries: 20
bender:
image: ghcr.io/valitydev/bender:sha-a3b227f
command: /opt/bender/bin/bender foreground
depends_on:
machinegun:
condition: service_healthy
healthcheck:
test: "/opt/bender/bin/bender ping"
interval: 10s
timeout: 5s
retries: 10