chore: add compose stack, restart hook and helper scripts

This commit is contained in:
2026-10-30 01:35:04 +03:00
parent f68710818d
commit df7b8fb701
8 changed files with 206 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
COMPOSE=${COMPOSE:-docker compose}
{
echo "# scripts/explain.sh; date: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
$COMPOSE exec -T postgres psql -U messenger -d messenger -X -q < scripts/explain.sql
} > evidence/explain.txt
cat evidence/explain.txt