Stufe 0: Grundgerüst mit Rechenkern, Datenbank, Oberfläche und Docker-Betrieb

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
Claude
2026-10-17 16:37:54 +00:00
commit 92d26baa4b
45 changed files with 6143 additions and 0 deletions

24
deploy/Caddyfile Normal file
View File

@@ -0,0 +1,24 @@
# HTTPS mit automatischem Zertifikat für Produktion und Testumgebung.
# Bis zur eigenen Benutzerverwaltung (Modul 16) schützt eine Anmeldung am Proxy
# das Programm; der Name geht als X-Benutzer an die App und ins Änderungsprotokoll.
(anmeldung) {
basic_auth {
{$APP_BENUTZER} {$APP_PASSWORT_HASH}
}
}
{$DOMAIN} {
encode gzip
import anmeldung
reverse_proxy app:3000 {
header_up X-Benutzer {http.auth.user.id}
}
}
{$TEST_DOMAIN} {
encode gzip
import anmeldung
reverse_proxy app-test:3000 {
header_up X-Benutzer {http.auth.user.id}
}
}