Files
probably-rendering-one-more…/scripts/init-infra.sh
T
codex-bot 6654a1456b
Unified application CI and deployment / verify-and-release (pull_request) Waiting to run
python CI and deployment / verify-and-deploy (pull_request) Successful in 1m12s
Unify Wiki and Studio application and simplify deployment
2026-11-04 03:41:16 +08:00

7 lines
400 B
Bash

#!/usr/bin/env bash
set -Eeuo pipefail
# Explicit operator action, never invoked by the application release workflow.
if [ "$(id -u)" -ne 0 ]; then exec sudo -n bash "$0" "$@"; fi
test -s /etc/prompt.env || { echo 'Configure /etc/prompt.env before initializing infrastructure' >&2; exit 1; }
docker compose -p prompt --env-file /etc/prompt.env -f compose.yml up -d --no-build --wait postgres objects