50be342899
- http.Server mit Timeouts (Slowloris) und Graceful Shutdown (SIGTERM) - Adresse und DB-Pfad per Env (KVER_ADDR, KVER_DB) - Security-Header global: nosniff, X-Frame-Options, Referrer-Policy, CSP - Upload-Requests hart auf 17 MB gedeckelt (MaxBytesReader statt nur Multipart-Speichergrenze) - Indizes für Feed-, Thread- und Vote-Queries - middleware.RealIP für Logging/Rate-Limit hinter dem Reverse-Proxy - Containerfile (Multi-Stage, Alpine, non-root) + Deploy-Doku in notes/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
211 B
Plaintext
17 lines
211 B
Plaintext
# Nicht ins Image: lokale DB, Uploads, Backups, Werkzeug-Kram.
|
|
.git
|
|
.gitignore
|
|
prod_backup/
|
|
notes/
|
|
venv/
|
|
__pycache__/
|
|
kver
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
*.db.bak
|
|
static/media/
|
|
migrate.sh
|
|
Containerfile
|
|
.containerignore
|