token-keeper/compose.yaml

30 lines
755 B
YAML
Raw Permalink Normal View History

2022-02-10 15:17:14 +00:00
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:
2023-10-24 09:37:41 +00:00
image: ghcr.io/valitydev/machinegun:sha-5c0db56
2022-02-10 15:17:14 +00:00
command: /opt/machinegun/bin/machinegun foreground
volumes:
2023-10-24 09:37:41 +00:00
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
2022-02-10 15:17:14 +00:00
healthcheck:
2023-10-24 09:37:41 +00:00
test: "/opt/machinegun/bin/machinegun ping"
2022-02-10 15:17:14 +00:00
interval: 5s
timeout: 1s
retries: 20