feat: 添加 niucloud-php 和 niucloud-java 对标项目,完善健康检查模块
- 添加 niucloud-php 对标项目用于业务逻辑参考 - 添加 niucloud-java 对标项目用于架构设计参考 - 完善 NestJS 健康检查模块 - 更新 Docker 启动脚本 - 优化模块导入配置
This commit is contained in:
@@ -9,6 +9,8 @@ async function bootstrap() {
|
||||
// const swaggerService = app.get(SwaggerService);
|
||||
// swaggerService.setupSwagger(app);
|
||||
|
||||
await app.listen(process.env.PORT ?? 3001);
|
||||
const port = parseInt(process.env.APP_PORT || '3000');
|
||||
console.log(`Application is starting on port: ${port}`);
|
||||
await app.listen(port);
|
||||
}
|
||||
bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user