2016-06-29 13:58:48 +00:00
|
|
|
services:
|
2022-02-09 15:21:50 +00:00
|
|
|
testrunner:
|
|
|
|
image: $DEV_IMAGE_TAG
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.dev
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
OTP_VERSION: $OTP_VERSION
|
|
|
|
THRIFT_VERSION: $THRIFT_VERSION
|
2016-06-29 13:58:48 +00:00
|
|
|
volumes:
|
2016-08-12 17:33:39 +00:00
|
|
|
- .:$PWD
|
2022-02-09 15:21:50 +00:00
|
|
|
hostname: hellgate
|
2016-08-08 18:16:17 +00:00
|
|
|
depends_on:
|
2017-02-01 18:44:07 +00:00
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
dominant:
|
2022-02-10 14:17:56 +00:00
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
party-management:
|
2022-02-10 14:17:56 +00:00
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
limiter:
|
2017-02-01 18:44:07 +00:00
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
shumway:
|
2022-02-24 08:23:24 +00:00
|
|
|
condition: service_healthy
|
2022-05-18 13:33:54 +00:00
|
|
|
bender:
|
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
command: /sbin/init
|
2016-10-10 16:05:28 +00:00
|
|
|
|
2016-10-16 18:55:55 +00:00
|
|
|
dominant:
|
2023-08-03 08:01:29 +00:00
|
|
|
image: ghcr.io/valitydev/dominant:sha-fdf5277
|
2016-10-20 10:51:35 +00:00
|
|
|
command: /opt/dominant/bin/dominant foreground
|
2016-10-16 18:55:55 +00:00
|
|
|
depends_on:
|
2017-02-01 18:44:07 +00:00
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
healthcheck:
|
2022-02-10 14:17:56 +00:00
|
|
|
test: "/opt/dominant/bin/dominant ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
2016-10-16 18:55:55 +00:00
|
|
|
|
2016-06-29 13:58:48 +00:00
|
|
|
machinegun:
|
2023-08-03 08:01:29 +00:00
|
|
|
image: ghcr.io/valitydev/machinegun:sha-ed72eec
|
2016-10-14 17:27:22 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
2016-08-25 15:41:23 +00:00
|
|
|
volumes:
|
2017-07-26 14:50:32 +00:00
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
2019-12-16 16:57:26 +00:00
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
2017-02-01 18:44:07 +00:00
|
|
|
healthcheck:
|
2022-04-15 11:07:54 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
2017-02-01 18:44:07 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
2018-01-24 13:40:54 +00:00
|
|
|
retries: 20
|
2016-10-10 16:05:28 +00:00
|
|
|
|
2022-05-18 13:33:54 +00:00
|
|
|
bender:
|
2023-08-03 08:01:29 +00:00
|
|
|
image: ghcr.io/valitydev/bender:sha-c9ea00f
|
2022-05-18 13:33:54 +00:00
|
|
|
command: /opt/bender/bin/bender foreground
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
healthcheck:
|
|
|
|
test: "/opt/bender/bin/bender ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
|
|
|
|
2021-06-23 11:08:28 +00:00
|
|
|
limiter:
|
2023-08-03 08:01:29 +00:00
|
|
|
image: ghcr.io/valitydev/limiter:sha-6c3bfe3
|
2021-06-23 11:08:28 +00:00
|
|
|
command: /opt/limiter/bin/limiter foreground
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
shumway:
|
2022-02-24 08:23:24 +00:00
|
|
|
condition: service_healthy
|
2022-02-09 15:21:50 +00:00
|
|
|
healthcheck:
|
2022-06-22 05:07:35 +00:00
|
|
|
test: "/opt/limiter/bin/limiter ping"
|
2022-02-09 15:21:50 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 20
|
2021-06-23 11:08:28 +00:00
|
|
|
|
2016-10-12 12:44:21 +00:00
|
|
|
shumway:
|
2022-02-09 15:21:50 +00:00
|
|
|
image: docker.io/rbkmoney/shumway:44eb989065b27be619acd16b12ebdb2288b46c36
|
2019-08-06 10:24:20 +00:00
|
|
|
restart: unless-stopped
|
2017-02-01 18:44:07 +00:00
|
|
|
entrypoint:
|
|
|
|
- java
|
|
|
|
- -Xmx512m
|
|
|
|
- -jar
|
|
|
|
- /opt/shumway/shumway.jar
|
|
|
|
- --spring.datasource.url=jdbc:postgresql://shumway-db:5432/shumway
|
|
|
|
- --spring.datasource.username=postgres
|
|
|
|
- --spring.datasource.password=postgres
|
2019-10-15 10:17:42 +00:00
|
|
|
- --management.metrics.export.statsd.enabled=false
|
2016-10-12 12:44:21 +00:00
|
|
|
depends_on:
|
2022-02-09 15:21:50 +00:00
|
|
|
shumway-db:
|
|
|
|
condition: service_healthy
|
2017-02-01 18:44:07 +00:00
|
|
|
healthcheck:
|
2022-02-24 08:23:24 +00:00
|
|
|
test: "curl http://localhost:8023/actuator/health"
|
2017-02-01 18:44:07 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
2022-04-15 11:07:54 +00:00
|
|
|
retries: 40
|
2017-02-01 18:44:07 +00:00
|
|
|
|
2021-07-26 09:59:34 +00:00
|
|
|
party-management:
|
2023-08-03 08:01:29 +00:00
|
|
|
image: ghcr.io/valitydev/party-management:sha-18bba50
|
2021-07-26 09:59:34 +00:00
|
|
|
command: /opt/party-management/bin/party-management foreground
|
|
|
|
depends_on:
|
2022-02-09 15:21:50 +00:00
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
dominant:
|
|
|
|
condition: service_started
|
|
|
|
shumway:
|
2022-02-24 08:23:24 +00:00
|
|
|
condition: service_healthy
|
2021-07-26 09:59:34 +00:00
|
|
|
healthcheck:
|
2022-02-10 14:17:56 +00:00
|
|
|
test: "/opt/party-management/bin/party-management ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
2021-07-26 09:59:34 +00:00
|
|
|
|
2016-12-08 16:18:32 +00:00
|
|
|
shumway-db:
|
2022-02-09 15:21:50 +00:00
|
|
|
image: docker.io/library/postgres:9.6
|
2016-10-12 12:44:21 +00:00
|
|
|
environment:
|
2016-12-08 16:18:32 +00:00
|
|
|
- POSTGRES_DB=shumway
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
- SERVICE_NAME=shumway-db
|
2022-02-09 15:21:50 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|