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>
30 lines
741 B
Caddyfile
30 lines
741 B
Caddyfile
# Caddy 2.x — Reverse-Proxy für das Cockpit.
|
|
# Lokal: http://localhost
|
|
# Produktion: cockpit.tool-ctrl.de
|
|
|
|
{$COCKPIT_HOST:cockpit.tool-ctrl.de} {
|
|
encode zstd gzip
|
|
|
|
# /internal/* darf nur über das interne Netz erreichbar sein.
|
|
@internal path /internal/*
|
|
respond @internal 403
|
|
|
|
# API + tRPC → Backend
|
|
@api path /api/* /trpc/*
|
|
reverse_proxy @api api:3000
|
|
|
|
# Static frontend
|
|
root * /srv
|
|
try_files {path} /index.html
|
|
file_server
|
|
|
|
# Security-Headers (CSP wird in Story 6.x feinjustiert)
|
|
header {
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains"
|
|
X-Content-Type-Options "nosniff"
|
|
Referrer-Policy "strict-origin-when-cross-origin"
|
|
Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
|
-Server
|
|
}
|
|
}
|