20 lines
563 B
Bash
Executable File
20 lines
563 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
cd "$ROOT"
|
|
|
|
if [ ! -f .env ] || [ ! -f secrets/pki/ca.crt ]; then
|
|
scripts/bootstrap-local-stack.sh
|
|
fi
|
|
|
|
docker compose up -d certs-init postgres s3 rabbitmq openbao
|
|
scripts/provision-db.sh
|
|
docker compose run --rm --no-deps s3-provisioner
|
|
scripts/provision-rabbitmq.sh
|
|
python3 scripts/initialize-openbao.py
|
|
docker compose up -d --build
|
|
|
|
printf '%s\n' "Stack started. Public endpoint: https://localhost:8443"
|
|
printf '%s\n' "Use CA_FILE=secrets/pki/ca.crt make test and make test-security."
|