Files
stack/apps/orchestrator/src/main.ts
Jason Woltje e808487725
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat(M6): Set up orchestrator service foundation
Add NestJS-based orchestrator service structure for M6-AgentOrchestration.

Changes:
- Migrate from Express to NestJS architecture
- Add health check endpoint module
- Add placeholder modules: coordinator, git, killswitch, monitor, queue, spawner, valkey
- Update configuration for NestJS
- Update lockfile for new dependencies

This is foundational work for M6-AgentOrchestration milestone.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 13:16:19 -06:00

20 lines
517 B
TypeScript

import { NestFactory } from "@nestjs/core";
import { AppModule } from "./app.module";
import { Logger } from "@nestjs/common";
const logger = new Logger("Orchestrator");
async function bootstrap() {
const app = await NestFactory.create(AppModule, {
logger: ["error", "warn", "log", "debug", "verbose"],
});
const port = process.env.ORCHESTRATOR_PORT ?? 3001;
await app.listen(Number(port), "0.0.0.0");
logger.log(`🚀 Orchestrator running on http://0.0.0.0:${String(port)}`);
}
void bootstrap();