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();