Улучшить работу чата и устойчивость сервисов

This commit is contained in:
Никита
2026-11-10 12:46:37 +03:00
parent 30450dcd73
commit e7a3ad2469
10 changed files with 214 additions and 27 deletions
+2 -2
View File
@@ -141,10 +141,10 @@ services:
volumes:
- broker_data:/var/lib/rabbitmq
cpus: 0.5
mem_limit: 384m
mem_limit: ${BROKER_MEMORY:-512m}
restart: unless-stopped
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/5672'"]
interval: 3s
timeout: 5s
retries: 30