2022-01-25 17:45:08 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
|
2022-02-11 11:38:49 +00:00
|
|
|
testrunner:
|
2022-01-25 17:45:08 +00:00
|
|
|
image: $DEV_IMAGE_TAG
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
context: .
|
|
|
|
args:
|
2022-02-11 11:38:49 +00:00
|
|
|
OTP_VERSION: $OTP_VERSION
|
2022-01-25 17:45:08 +00:00
|
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
|
|
|
volumes:
|
|
|
|
- .:$PWD
|
2022-02-11 11:38:49 +00:00
|
|
|
hostname: $SERVICE_NAME
|
2022-01-25 17:45:08 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
depends_on:
|
2023-10-24 10:28:17 +00:00
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-01-25 17:45:08 +00:00
|
|
|
ports:
|
|
|
|
- "8022"
|
|
|
|
command: /sbin/init
|
|
|
|
|
|
|
|
machinegun:
|
2023-10-24 10:28:17 +00:00
|
|
|
image: ghcr.io/valitydev/machinegun:sha-5c0db56
|
2022-01-25 17:45:08 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
2023-10-24 10:28:17 +00:00
|
|
|
healthcheck:
|
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|