mirror of
https://github.com/valitydev/url-shortener.git
synced 2024-11-06 01:55:19 +00:00
12f5e53da8
* Instruments swagger operation handler * Bumps deps; updates proto refs * Tweaks woody timeout testcase * Bumps OTP version * Bumps bouncer & token keeper clients
33 lines
787 B
YAML
33 lines
787 B
YAML
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
|
|
working_dir: $PWD
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
ports:
|
|
- "8022:8022"
|
|
command: /sbin/init
|
|
|
|
machinegun:
|
|
image: ghcr.io/valitydev/machinegun:sha-5c0db56
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
volumes:
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
|
healthcheck:
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|