2016-06-29 13:58:48 +00:00
|
|
|
services:
|
2016-10-10 16:05:28 +00:00
|
|
|
|
2022-02-07 08:17:17 +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-07 08:17:17 +00:00
|
|
|
hostname: $SERVICE_NAME
|
2016-08-12 17:33:39 +00:00
|
|
|
working_dir: $PWD
|
2016-08-08 18:16:17 +00:00
|
|
|
depends_on:
|
2017-02-01 18:44:07 +00:00
|
|
|
machinegun:
|
|
|
|
condition: service_healthy
|
2022-02-07 08:17:17 +00:00
|
|
|
dominant:
|
2022-04-05 11:51:12 +00:00
|
|
|
condition: service_healthy
|
2017-02-01 18:44:07 +00:00
|
|
|
shumway:
|
2023-09-19 13:08:15 +00:00
|
|
|
condition: service_started
|
2022-02-07 08:17:17 +00:00
|
|
|
ports:
|
|
|
|
- "8022:8022"
|
|
|
|
command: /sbin/init
|
2016-10-10 16:05:28 +00:00
|
|
|
|
2016-10-16 18:55:55 +00:00
|
|
|
dominant:
|
2024-09-12 09:32:53 +00:00
|
|
|
image: ghcr.io/valitydev/dominant:sha-7e33b86
|
2016-10-16 18:55:55 +00:00
|
|
|
depends_on:
|
2022-02-07 08:17:17 +00:00
|
|
|
- machinegun
|
|
|
|
ports:
|
|
|
|
- "8022"
|
|
|
|
command: /opt/dominant/bin/dominant foreground
|
2023-10-24 13:14:18 +00:00
|
|
|
volumes:
|
|
|
|
- ./test/dominant/sys.config:/opt/dominant/releases/0.1/sys.config
|
2022-02-07 08:17:17 +00:00
|
|
|
healthcheck:
|
2022-04-05 11:51:12 +00:00
|
|
|
test: "/opt/dominant/bin/dominant ping"
|
2022-02-07 08:17:17 +00:00
|
|
|
interval: 5s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 20
|
2016-10-16 18:55:55 +00:00
|
|
|
|
2016-06-29 13:58:48 +00:00
|
|
|
machinegun:
|
2024-08-28 14:40:50 +00:00
|
|
|
image: ghcr.io/valitydev/mg2:sha-8bbcd29
|
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-05 11:51:12 +00:00
|
|
|
test: "/opt/machinegun/bin/machinegun ping"
|
2024-08-28 14:40:50 +00:00
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
2023-10-24 13:14:18 +00:00
|
|
|
retries: 10
|
2016-10-10 16:05:28 +00:00
|
|
|
|
2016-10-12 12:44:21 +00:00
|
|
|
shumway:
|
2023-09-19 13:08:15 +00:00
|
|
|
image: ghcr.io/valitydev/shumway:sha-658587c
|
2019-08-06 10:24:20 +00:00
|
|
|
restart: unless-stopped
|
2022-02-07 08:17:17 +00:00
|
|
|
depends_on:
|
|
|
|
- shumway-db
|
|
|
|
ports:
|
|
|
|
- "8022"
|
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
|
2023-09-19 13:08:15 +00:00
|
|
|
- --management.endpoint.metrics.enabled=false
|
|
|
|
- --management.endpoint.prometheus.enabled=false
|
2017-02-01 18:44:07 +00:00
|
|
|
healthcheck:
|
2023-09-19 13:08:15 +00:00
|
|
|
disable: true
|
2017-02-01 18:44:07 +00:00
|
|
|
|
2016-12-08 16:18:32 +00:00
|
|
|
shumway-db:
|
2023-09-19 13:08:15 +00:00
|
|
|
image: docker.io/library/postgres:13.10
|
2022-02-07 08:17:17 +00:00
|
|
|
ports:
|
|
|
|
- "5432"
|
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
|