chore: repo hygiene — .dockerignore, .editorconfig, deploy-Doku

- .dockerignore: schließt node_modules, .next, data/, lokale ENV, Deploy-
  Skripte und Repo-Metadaten aus dem Build-Kontext aus. Vorher hat 'COPY . .'
  im Dockerfile alles ins Image kopiert, was unter src/ lag — jetzt wird nur
  das Nötige gebaut.
- .editorconfig: einheitliche Einrückung (LF, 2 Spaces, UTF-8) und
  final-newline für TS/JS/JSON/YAML/SQL. Verhindert Editor-Drift zwischen
  pi/laptop/WSL-PC.
- README: Live-Status-Block ergänzt (URL, Container-Image 323 MB, Traefik,
  Repo) und Erst-Deploy-Runbook (DNS, .env.local-Setup, Traefik-Restart
  wegen ACME 1h-Rate-Limit bei fehlendem A-Record).

Hintergrund: vorher hat docker build lokal die data/eldov.db mitkopiert (in
node_modules fällt das nicht auf, aber data/ lag im src/-Parent) und die
Deploy-Skripte selbst (deploy.sh, deploy-vps.sh) — mit.dockerignore wandert
das nicht mehr ins Image. .editorconfig war noch nie da, aber die anderen
Repos im Cluster (w-make-com, hermes-tools) haben eins — Konsistenz.
This commit is contained in:
Jan Wagner
2026-08-31 20:38:10 +02:00
parent 361af1eaaf
commit 9ceead6ab6
3 changed files with 109 additions and 1 deletions
+24
View File
@@ -0,0 +1,24 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.{md,mdx}]
trim_trailing_whitespace = false
[*.{ts,tsx,js,jsx,mjs,cjs}]
indent_size = 2
[*.{yml,yaml}]
indent_size = 2
[*.sql]
indent_size = 2
[Makefile]
indent_style = tab