7 lines
400 B
Bash
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
|