leistungsbilanz-ts/docs
Grovy311 01fa527b9c Add production compose stack and stop idle load in containers
The development stack was running permanently on a server: polling file
watchers, a healthcheck that rendered a full page every five seconds and no
memory limit grew next dev to 10 GB and pushed the host into swap.

- add compose.prod.yaml running compiled output in separate api/web services
- make the Dockerfile multi-stage with dev and prod targets, prune
  devDependencies and run the runtime image as node instead of root
- bake API_INTERNAL_URL at build time; next start ignores it at runtime
  because rewrite destinations are resolved into routes-manifest.json
- drop CHOKIDAR_USEPOLLING and WATCHPACK_POLLING
- probe /health instead of /, which redirects to /projects and made every
  healthcheck render the project list
- give every service a memory limit and forbid swap in production
- rename the development compose project to leistungsbilanz-dev so its
  down command cannot target the production stack
- bind development ports to localhost
- close the http server and the SQLite handle on SIGTERM/SIGINT
- match probe user agents in the navigation log filter; Node's fetch sends
  one, so the previous check never matched
- exit docker-start.sh when either supervised process dies
- remove drizzle.config.js, a compiled copy drizzle-kit never reads, and the
  pre-Next index.html/styles.css leftovers

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 00:27:22 +02:00
..
archive Rewrite project documentation 2026-07-23 21:05:43 +02:00
spec Add Revit circuit list object feed 2026-08-02 18:59:01 +02:00
circuit-list-editor-api.md Update docs for the code-review fixes 2026-08-06 21:33:28 +02:00
circuit-list-editor-architecture.md Remove circuit structure preview 2026-07-31 14:52:37 +02:00
circuit-list-editor-interactions.md Restore circuit drag placement 2026-07-31 08:33:41 +02:00
circuit-list-editor-known-limitations.md Add external object new circuit command 2026-08-02 18:55:57 +02:00
current-architecture.md Update docs for the code-review fixes 2026-08-06 21:33:28 +02:00
deployment.md Add production compose stack and stop idle load in containers 2026-08-15 00:27:22 +02:00
development-workflow.md Create clean release database baseline 2026-07-31 14:07:26 +02:00
project-history-and-external-model-architecture.md Add public building project setting 2026-07-31 17:41:30 +02:00
README.md Plan Revit CSV integration 2026-08-02 15:47:12 +02:00
revit-requirements-llm-context.md Add public building project setting 2026-07-31 17:41:30 +02:00

Dokumentationsübersicht

Diese Seite ist der Einstieg in die Projektdokumentation. Aussagen zum aktuellen System stehen unter „Aktuell“. Zukunftsentwürfe und historische Unterlagen sind ausdrücklich getrennt und dürfen nicht als bereits implementiert verstanden werden.

Aktuell

Entwicklung und Betrieb

Zukunftsarchitektur

Fachliche Referenzspezifikation

Die folgenden Dokumente beschreiben Zielregeln und Anforderungen. Nicht jeder Punkt ist bereits umgesetzt; der aktuelle Stand ergibt sich aus Architektur, Limitierungen und Roadmap.

Archiv