The runner and Bugsink ran from compose files in old worktrees (projects peppa-ci, peppa-bugsink). Container names and the runner's registration volume are kept. scripts/infra-up.sh, pnpm infra:up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
506 B
Bash
Executable File
10 lines
506 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Peppa's docker services (infra/docker-compose.yml, compose project `peppa`): postgres, bugsink,
|
|
# act-runner. Secrets for Bugsink come from Peppa's .env.
|
|
# Usage: scripts/infra-up.sh [service…] (default: all)
|
|
# PEPPA_ENV_FILE=~/peppa/shared/.env scripts/infra-up.sh
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
ENV_FILE="${PEPPA_ENV_FILE:-$ROOT/.env}"
|
|
exec docker compose --env-file "$ENV_FILE" -f "$ROOT/infra/docker-compose.yml" up -d --remove-orphans "$@"
|