17 lines
733 B
Bash
Executable File
17 lines
733 B
Bash
Executable File
#!/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'
|