feat: add Docker deployment with Containerfile, entrypoints, and nginx

Multi-stage Containerfile for all Node.js services (single image,
different CMD per docker-compose service). ESM entrypoints for gateway,
config, text-completion, prompt, embeddings, agent, and librarian.

Workbench gets a separate Containerfile (nginx:alpine) with SPA routing
and API/WebSocket proxy to gateway.

Docker Compose updated with 6 app services (gateway, config-service,
text-completion, prompt, embeddings, workbench) using shared
trustgraph-ts:local image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
elpresidank 2026-04-06 00:21:00 -05:00
parent f09ef4de45
commit d1f24cf759
13 changed files with 241 additions and 78 deletions

View file

@ -0,0 +1,6 @@
import("../packages/flow/dist/model/text-completion/claude.js")
.then((m) => m.run())
.catch((err) => {
console.error(err);
process.exit(1);
});