2018-05-30 14:45:42 +00:00
|
|
|
services:
|
2022-05-13 08:38:22 +00:00
|
|
|
testrunner:
|
|
|
|
image: $DEV_IMAGE_TAG
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
OTP_VERSION: $OTP_VERSION
|
|
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
2018-05-30 14:45:42 +00:00
|
|
|
volumes:
|
|
|
|
- .:$PWD
|
2022-05-13 08:38:22 +00:00
|
|
|
hostname: $SERVICE_NAME
|
2018-05-30 14:45:42 +00:00
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-05-13 08:38:22 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
command: /sbin/init
|
2018-05-30 14:45:42 +00:00
|
|
|
|
|
|
|
machinegun:
|
2022-08-24 14:07:39 +00:00
|
|
|
image: ghcr.io/valitydev/machinegun:sha-00fe6d6
|
2018-05-30 14:45:42 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
2020-02-19 16:40:12 +00:00
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
2018-05-30 14:45:42 +00:00
|
|
|
healthcheck:
|
2022-05-13 08:38:22 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
2018-05-30 14:45:42 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 20
|