bender/compose.yaml
2023-10-24 13:46:55 +03:00

30 lines
756 B
YAML

services:
testrunner:
image: $DEV_IMAGE_TAG
build:
dockerfile: Dockerfile.dev
context: .
args:
OTP_VERSION: $OTP_VERSION
THRIFT_VERSION: $THRIFT_VERSION
volumes:
- .:$PWD
hostname: $SERVICE_NAME
depends_on:
machinegun:
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: 10s
timeout: 5s
retries: 10