2022-03-02 08:20:07 +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: fistful-server
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
dominant:
|
|
|
|
condition: service_healthy
|
|
|
|
party-management:
|
|
|
|
condition: service_healthy
|
2022-08-04 09:18:02 +00:00
|
|
|
limiter:
|
|
|
|
condition: service_healthy
|
2022-03-02 08:20:07 +00:00
|
|
|
shumway:
|
2023-09-20 07:02:32 +00:00
|
|
|
condition: service_started
|
2022-05-23 10:58:46 +00:00
|
|
|
bender:
|
|
|
|
condition: service_healthy
|
2022-03-02 08:20:07 +00:00
|
|
|
working_dir: $PWD
|
|
|
|
command: /sbin/init
|
|
|
|
|
|
|
|
dominant:
|
2024-05-28 13:10:46 +00:00
|
|
|
image: ghcr.io/valitydev/dominant:sha-f17373b
|
2022-03-02 08:20:07 +00:00
|
|
|
command: /opt/dominant/bin/dominant foreground
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
healthcheck:
|
|
|
|
test: "/opt/dominant/bin/dominant ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
|
|
|
|
|
|
|
machinegun:
|
2024-08-29 08:43:18 +00:00
|
|
|
image: ghcr.io/valitydev/mg2:sha-8bbcd29
|
2022-03-02 08:20:07 +00:00
|
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
|
|
volumes:
|
|
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
|
|
|
healthcheck:
|
2022-08-26 11:05:05 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
2022-03-02 08:20:07 +00:00
|
|
|
|
2022-08-04 09:18:02 +00:00
|
|
|
limiter:
|
2023-10-26 10:46:33 +00:00
|
|
|
image: ghcr.io/valitydev/limiter:sha-920d6ac
|
2022-08-04 09:18:02 +00:00
|
|
|
command: /opt/limiter/bin/limiter foreground
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
shumway:
|
2023-09-20 07:02:32 +00:00
|
|
|
condition: service_started
|
2022-08-04 09:18:02 +00:00
|
|
|
healthcheck:
|
|
|
|
test: "/opt/limiter/bin/limiter ping"
|
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 20
|
|
|
|
|
2022-03-02 08:20:07 +00:00
|
|
|
shumway:
|
2023-09-20 07:02:32 +00:00
|
|
|
image: ghcr.io/valitydev/shumway:sha-658587c
|
2022-03-02 08:20:07 +00:00
|
|
|
restart: unless-stopped
|
2023-09-20 07:02:32 +00:00
|
|
|
depends_on:
|
|
|
|
- shumway-db
|
|
|
|
ports:
|
|
|
|
- "8022"
|
2022-03-02 08:20: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
|
2023-09-20 07:02:32 +00:00
|
|
|
- --management.endpoint.metrics.enabled=false
|
|
|
|
- --management.endpoint.prometheus.enabled=false
|
2022-03-02 08:20:07 +00:00
|
|
|
healthcheck:
|
2023-09-20 07:02:32 +00:00
|
|
|
disable: true
|
2022-03-02 08:20:07 +00:00
|
|
|
|
|
|
|
party-management:
|
2024-09-12 08:50:12 +00:00
|
|
|
image: ghcr.io/valitydev/party-management:sha-9af7d71
|
2022-03-02 08:20:07 +00:00
|
|
|
command: /opt/party-management/bin/party-management foreground
|
|
|
|
depends_on:
|
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
|
|
|
dominant:
|
|
|
|
condition: service_started
|
|
|
|
shumway:
|
2023-09-20 07:02:32 +00:00
|
|
|
condition: service_started
|
2022-03-02 08:20:07 +00:00
|
|
|
healthcheck:
|
|
|
|
test: "/opt/party-management/bin/party-management ping"
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
|
|
|
|
2022-05-23 10:58:46 +00:00
|
|
|
bender:
|
2024-05-28 13:10:46 +00:00
|
|
|
image: ghcr.io/valitydev/bender:sha-cf92a7d
|
2022-05-23 10:58:46 +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
|
|
|
|
|
2022-03-02 08:20:07 +00:00
|
|
|
shumway-db:
|
2023-09-20 07:02:32 +00:00
|
|
|
image: docker.io/library/postgres:13.10
|
|
|
|
ports:
|
|
|
|
- "5432"
|
2022-03-02 08:20:07 +00:00
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=shumway
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=postgres
|