progressor/benchmark/base_bench/docker-compose.yml
ttt161 79f16f9cc3
epic/TD-927/progressor-prototype (#1)
* TD-934: add prototype implementation

* TD-934: fix

* TD-934: fix spec

* TD-934: fix spec

* TD-927: add context

* TD-927: fix json saving

* TD-927: fix

* TD-927: fix calls processing

* TD-927: fix call and repair processing, add remove action impl.

* TD-934: add kafka client

* XP-934: bump epg_connector

* TD-927: fix for table names

* XP-927: add common tests

* TD-927: reworks

* TD-927: cleanup

* TD-927: fix pg_backend

* TD-927: fix calls procesiing

* TD-927: add benchmark

* TD-927: bump epg_connector

* TD-927: fixes

* TD-927: fix timers saving

* TD-927: bump epg_connector

* XP-927: fix bench config

* TD-927: fix worker

* TD-927: cleanup

* TD-927: add logs

* TD-927: add logs

* TD-927: add logs

* TD-927: add metrics

* TD-927: fix scheduler pop task

* TD-927: rework pools

* TD-927: some optimizations

* TD-927: rework pg backend

* TD-927: update test config

* TD-927: bump epg_connector, cleanup

---------

Co-authored-by: ttt161 <losto@nix>
2024-10-09 11:24:02 +03:00

47 lines
1.0 KiB
YAML

services:
testrunner:
image: $DEV_IMAGE_TAG
environment:
WORK_DIR: $PWD
build:
dockerfile: Dockerfile.dev
context: .
args:
OTP_VERSION: $OTP_VERSION
THRIFT_VERSION: $THRIFT_VERSION
volumes:
- .:$PWD
hostname: progressor
depends_on:
postgres:
condition: service_healthy
working_dir: $PWD
postgres:
image: postgres:15-bookworm
command: -c 'max_connections=250'
environment:
POSTGRES_DB: "progressor_db"
POSTGRES_USER: "progressor"
POSTGRES_PASSWORD: "progressor"
PGDATA: "/tmp/postgresql/data/pgdata"
volumes:
- progressor-data:/tmp/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U progressor -d progressor_db"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
restart: unless-stopped
deploy:
resources:
limits:
cpus: '4'
memory: 8G
volumes:
progressor-data: