Выполнить лабораторную 7 по безопасности мессенджера

This commit is contained in:
2026-12-04 23:51:24 +03:00
parent 20afc2c790
commit 65bbf3224a
86 changed files with 6376 additions and 144 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
scripts/init-env.sh
docker compose up -d --wait postgres rabbitmq rustfs s3-store openbao \
collector collector-core prometheus prometheus-core loki loki-core tempo tempo-core grafana
python3 scripts/operator.py init
python3 scripts/operator.py unseal
python3 scripts/operator.py database
docker compose run --rm --no-deps -T bucket-bootstrap
python3 scripts/operator.py configure
docker compose up -d --build api worker haproxy
port=$(python3 -c 'from scripts.operator import settings; print(settings().get("HTTPS_PORT", "8443"))')
curl --retry 15 --retry-delay 1 --retry-all-errors --max-time 5 \
--cacert secrets/trust/edge.crt -fsS "https://localhost:$port/health/ready"
printf '\n'