#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." docker compose stop worker dispatcher reconciler lb api cache db s3 broker docker compose up -d --wait db cache s3 broker docker compose run --rm --no-deps migrate docker compose run --rm --no-deps s3-bootstrap docker compose up -d --no-deps --wait api docker compose up -d --no-deps lb dispatcher worker reconciler python3 scripts/stack.py wait --count 2