This commit is contained in:
2026-11-22 17:20:34 +03:00
parent c10bf08feb
commit 7e1780be67
14 changed files with 938 additions and 60 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Restart the LB, every API replica, PostgreSQL and MinIO. Volumes stay; nothing is re-seeded.
docker compose --env-file .env stop lb api
docker compose --env-file .env restart postgres minio
# Restart the LB, every API replica, the worker, PostgreSQL, MinIO and RabbitMQ.
# Volumes stay; nothing is re-seeded. The broker hostname is stable, so its volume keeps queued jobs.
docker compose --env-file .env stop lb api worker
docker compose --env-file .env restart postgres minio rabbitmq
# Brings back all replicas (including one left stopped by stop-one.sh); migrate re-runs as a no-op.
docker compose --env-file .env up -d --wait