Initial commit: everythingbutwork MVP
ci / quality (push) Has been cancelled
ci / build (push) Has been cancelled

Internes Project-Management-Tool für ToolCTRL — ergänzend zu Plane (Tickets)
und Outline (Doku). Umfasst Puls-Übersicht, Tagesrhythmus (Lock-in + Reflexion),
Bereichs-Detail-Views (Entwicklung/Vertrieb/Marketing), Pflicht-Minimum-Check
und Blocker-Lifecycle gemäß Projektmanagement-Leitfaden v3.0.

Stack: pnpm-Monorepo · Vite + React 18 + Tailwind · Fastify + tRPC v11 +
Drizzle ORM · Postgres 16 · Authentik OIDC (Phase 2, Dev-Auto-Login aktiv).

Planungs-Artefakte unter _bmad-output/planning-artifacts/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
dejanandClaude Opus 4.7 committed 2026-05-25 22:47:26 +02:00
commit 4f33509a0f
131 files changed
+34339

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh
# Tägliches pg_dump in /backups, 14 Tage Retention.
# Läuft im Postgres-Container via System-Cron.
set -eu
DATE=$(date +%Y%m%d-%H%M%S)
OUT="/backups/cockpit-${DATE}.sql.gz"
mkdir -p /backups
pg_dump -U "${POSTGRES_USER:-cockpit}" -d "${POSTGRES_DB:-cockpit}" -Fc | gzip > "$OUT"
echo "Backup written: $OUT"
# Retention: lösche Dumps älter als 14 Tage.
find /backups -type f -name "cockpit-*.sql.gz" -mtime +14 -delete
# Heartbeat an API (logging).
if [ -n "${CRON_BEARER_TOKEN:-}" ] && [ -n "${API_URL:-}" ]; then
wget -q --header="Authorization: Bearer ${CRON_BEARER_TOKEN}" \
-O- "${API_URL}/internal/cron/pg-dump-backup" || true
fi