test(lab5): add fault injection script and expose ports for testing

This commit is contained in:
Голиков Maximillian Антон
2026-11-13 11:59:57 +03:00
parent 20fdd31c12
commit 19ddbfd16a
2 changed files with 99 additions and 0 deletions
+3
View File
@@ -26,6 +26,8 @@ services:
timeout: 3s
retries: 10
start_period: 5s
ports:
- "5432:5432"
deploy:
resources:
limits:
@@ -74,6 +76,7 @@ services:
- rabbitmq_data:/var/lib/rabbitmq
ports:
- "15672:15672"
- "5672:5672"
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 5s