2017-12-18 11:35:56 +00:00
|
|
|
services:
|
|
|
|
|
2022-02-15 16:40:53 +00:00
|
|
|
testrunner:
|
|
|
|
image: $DEV_IMAGE_TAG
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
OTP_VERSION: $OTP_VERSION
|
|
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
2017-12-18 11:35:56 +00:00
|
|
|
volumes:
|
|
|
|
- .:$PWD
|
2022-02-15 16:40:53 +00:00
|
|
|
hostname: $SERVICE_NAME
|
2017-12-18 11:35:56 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-02-15 16:40:53 +00:00
|
|
|
ports:
|
|
|
|
- "8022:8022"
|
|
|
|
command: /sbin/init
|
2017-12-18 11:35:56 +00:00
|
|
|
|
|
|
|
machinegun:
|
2023-10-31 08:52:08 +00:00
|
|
|
image: ghcr.io/valitydev/machinegun:sha-5c0db56
|
2017-12-18 11:35:56 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
2020-08-18 11:26:48 +00:00
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
2017-12-18 11:35:56 +00:00
|
|
|
healthcheck:
|
2023-10-31 08:52:08 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
2017-12-18 11:35:56 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
2022-02-15 16:40:53 +00:00
|
|
|
retries: 20
|