Commit graph

15 commits

Author SHA1 Message Date
906aa751c7 Run the Docker stack on built output instead of dev servers
compose.yaml overrode the image's own entrypoint to start "tsx watch" and
"next dev" with CHOKIDAR_USEPOLLING and WATCHPACK_POLLING enabled. The
built dist/ and .next from the image were never used, and the polling
watchers kept both containers busy around the clock whether or not
anyone used the application.

Split the two use cases: compose.yaml now runs node dist/server/index.js
and next start with no source mounts and no watchers, and the watching
setup moves to compose.dev.yaml.

next build writes the rewrite destinations from next.config.mjs into
.next/routes-manifest.json, so next start cannot pick up API_INTERNAL_URL
at runtime the way next dev does. Pass it as a build argument.

Give the web container its own probe. The healthcheck hit "/", which
redirects to "/projects", and fetch follows redirects, so every probe
rendered two pages every five seconds. "/health" could not serve as the
probe because next.config.mjs rewrites it to the API. Add "/web-health"
as a route handler, exclude it from the proxy matcher, and relax both
intervals to 30s.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-23 18:25:06 +02:00
9504905c8f Upgrade project to Node 24
Node 22 leaves active LTS at the end of October. Move the Docker base
image and the documented local requirement to Node 24.

Pull @types/node from ^25 down to ^24 so the type definitions no longer
describe a newer runtime than the one in use. Types ahead of the runtime
let TypeScript accept APIs that are not there at execution time; the
opposite direction is harmless.

Add an engines field to record the supported version. No .nvmrc, since
the project is not used with a Node version manager.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-23 18:05:50 +02:00
44b6fde940 Add public building project setting 2026-07-31 17:41:30 +02:00
734a2bcfc4 Create clean release database baseline 2026-07-31 14:07:26 +02:00
7c8d4a7ddf Document protected circuit groups 2026-07-31 08:06:10 +02:00
1a77eedaa8 Add automatic project snapshots 2026-07-25 23:27:51 +02:00
59d442593f Expose project-wide history controls 2026-07-25 23:16:46 +02:00
6b6d2c2a42 Rewrite project documentation 2026-07-23 21:05:43 +02:00
01aff46b4f Start Docker stack in background 2026-07-22 22:54:53 +02:00
c991f493da Add Docker development workflow 2026-07-22 22:42:28 +02:00
7580ad0ade Documentation 2026-05-07 22:55:15 +02:00
d1ce485572 Added 1B, 2 and added bootstrap again for site 2026-05-03 22:04:45 +02:00
60771b5929 rewrite 2026-05-03 19:14:44 +02:00
245a5b1485 Added distributionboards 2026-04-30 21:43:45 +02:00
c3e98af5b6 first commit 2026-04-30 18:22:10 +02:00