Выполнить лабораторную 7 по безопасности мессенджера
This commit is contained in:
Executable
+16
@@ -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'
|
||||
Reference in New Issue
Block a user