included rabbitmq as broker

This commit is contained in:
2026-11-10 07:01:17 +03:00
parent 0a70358829
commit 2b9fb3f375
49 changed files with 3072 additions and 287 deletions
+9 -4
View File
@@ -22,11 +22,16 @@ wait_healthy() {
done
}
compose stop cleanup
compose restart postgres redis minio
wait_healthy postgres redis minio
worker_running=$(compose ps --status running --quiet worker)
compose stop worker publisher cleanup
compose restart postgres redis minio broker
wait_healthy postgres redis minio broker
compose restart api
wait_healthy api
compose restart nginx
wait_healthy nginx
compose start cleanup
compose start publisher cleanup
# Сценарий с заранее остановленным worker сохраняет его остановленным.
if [ -n "$worker_running" ]; then
compose start worker
fi