feat(lab7): implement secure messenger infrastructure with TLS, OpenBao and observability
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-11-29 18:06:02 +03:00
parent 20afc2c790
commit c188a3beca
121 changed files with 10090 additions and 68 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
echo "[1/5] Stopping API sidecars and application services"
docker compose stop \
api1-mtls api2-mtls \
api1 api2 worker dispatcher
echo "[2/5] Restarting persistent dependencies"
docker compose restart db minio rabbitmq
echo "[3/5] Waiting for PostgreSQL and RabbitMQ"
docker compose up -d --no-deps --wait db rabbitmq
echo "[4/5] Starting application services"
docker compose up -d --no-deps dispatcher worker
docker compose up -d --no-deps --wait api1 api2
echo "[5/5] Recreating mTLS sidecars"
docker compose up -d --no-deps --force-recreate \
api1-mtls api2-mtls
echo "PASS: services restarted without removing volumes"