Реализация на 5

This commit is contained in:
Grbisba
2026-11-18 11:36:21 +03:00
parent 20afc2c790
commit de4d471d80
255 changed files with 21516 additions and 124 deletions
Executable
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
python3 scripts/bootstrap.py
python3 scripts/build-image.py
./scripts/compose.sh run --rm -T bao-permissions
./scripts/compose.sh up -d --wait --wait-timeout 120 postgres
./scripts/compose.sh up -d postgres redis broker s3 s3-tls openbao otel-collector otel-collector-tls prometheus prometheus-tls loki loki-tls tempo tempo-tls grafana
python3 scripts/bao.py
./scripts/compose.sh run --rm -T migrate
./scripts/compose.sh exec -T postgres psql -U messenger -d messenger -v ON_ERROR_STOP=1 < infra/postgres/grants.sql
./scripts/compose.sh run --rm -T operator storage bootstrap
./scripts/compose.sh up -d api worker dispatcher lb
python3 scripts/wait-ready.py