Реализовать наблюдаемость мессенджера и проверить её под нагрузкой

This commit is contained in:
2026-11-06 18:22:53 +03:00
parent 470d9d6f1e
commit b2eca3d259
78 changed files with 10341 additions and 24 deletions
+21
View File
@@ -0,0 +1,21 @@
# Only DB/cache test ports; API replicas always stay behind the LB.
services:
postgres:
ports: ["127.0.0.1:${TEST_PG_PORT:-55467}:5432"]
valkey:
ports: ["127.0.0.1:${TEST_CACHE_PORT:-56386}:6379"]
s3:
ports: ["127.0.0.1:${TEST_S3_PORT:-59006}:9000"]
bucket-init:
environment:
CREATE_TEST_BUCKET: '1'
broker:
ports: ["127.0.0.1:${TEST_BROKER_PORT:-56387}:6379"]
worker:
environment:
ENABLE_FAULT_INJECTION: '1'
JOB_TIMEOUT_SECONDS: ${TEST_JOB_TIMEOUT_SECONDS:-5}
relay:
environment:
ENABLE_FAULT_INJECTION: '1'
JOB_TIMEOUT_SECONDS: ${TEST_JOB_TIMEOUT_SECONDS:-5}