mirror of
https://github.com/valitydev/token-keeper.git
synced 2024-11-06 10:25:16 +00:00
30 lines
775 B
YAML
30 lines
775 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
|
||
|
depends_on:
|
||
|
machinegun:
|
||
|
condition: service_healthy
|
||
|
working_dir: $PWD
|
||
|
command: /sbin/init
|
||
|
|
||
|
machinegun:
|
||
|
image: docker.io/rbkmoney/machinegun:c05a8c18cd4f7966d70b6ad84cac9429cdfe37ae
|
||
|
command: /opt/machinegun/bin/machinegun foreground
|
||
|
volumes:
|
||
|
- ./var/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
||
|
- ./var/machinegun/cookie:/opt/machinegun/etc/cookie
|
||
|
healthcheck:
|
||
|
test: "curl http://localhost:8022/"
|
||
|
interval: 5s
|
||
|
timeout: 1s
|
||
|
retries: 20
|