2019-04-05 11:02:11 +00:00
|
|
|
services:
|
2022-04-28 08:42:34 +00:00
|
|
|
testrunner:
|
|
|
|
image: $DEV_IMAGE_TAG
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
OTP_VERSION: $OTP_VERSION
|
|
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
2019-04-05 11:02:11 +00:00
|
|
|
volumes:
|
|
|
|
- .:$PWD
|
2022-04-28 08:42:34 +00:00
|
|
|
hostname: $SERVICE_NAME
|
2019-04-05 11:02:11 +00:00
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-04-28 08:42:34 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
command: /sbin/init
|
2019-04-05 11:02:11 +00:00
|
|
|
|
|
|
|
machinegun:
|
2023-10-24 10:46:55 +00:00
|
|
|
image: ghcr.io/valitydev/machinegun:sha-5c0db56
|
2019-04-05 11:02:11 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
2020-01-23 15:16:40 +00:00
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
2019-04-05 11:02:11 +00:00
|
|
|
healthcheck:
|
2022-04-28 08:42:34 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
2023-10-24 10:46:55 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|