forked from mtusi2026/mtusi2026lab7
Щербацевич-БПИ2302-на 3
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
if command -v python3 >/dev/null 2>&1; then
|
||||
PY=python3
|
||||
else
|
||||
PY=python
|
||||
fi
|
||||
docker compose --env-file .env restart postgres redis minio rabbitmq openbao
|
||||
docker compose --env-file .env restart minio-tls || true
|
||||
BAO_ADDR=https://127.0.0.1:8200 \
|
||||
BAO_CACERT="$PWD/secrets/certs/ca.crt" \
|
||||
SECRETS_DIR="$PWD/secrets" \
|
||||
"$PY" scripts/openbao_bootstrap.py
|
||||
docker compose --env-file .env restart api worker relay gc
|
||||
Reference in New Issue
Block a user