forked from mtusi2026/mtusi2026lab6
Реализовать наблюдаемость мессенджера и проверить её под нагрузкой
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user