fix: nginx dns re-resolve, db healthcheck, explicit bind

This commit is contained in:
mahmood
2026-09-10 14:51:57 +03:30
parent 7d93507089
commit 1b675804ea
5 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -77633,7 +77633,7 @@ async function bootstrap() {
app.useGlobalPipes(new common_1.ValidationPipe({ whitelist: true, transform: true }));
app.useGlobalFilters(new prisma_exception_filter_1.PrismaExceptionFilter());
app.enableCors();
await app.listen(process.env.PORT ?? 3e3);
await app.listen(process.env.PORT ?? 3e3, "0.0.0.0");
}
bootstrap();
/*! Bundled license information:
+2 -1
View File
@@ -10,6 +10,7 @@ async function bootstrap() {
app.useGlobalPipes(new ValidationPipe({ whitelist: true, transform: true }));
app.useGlobalFilters(new PrismaExceptionFilter());
app.enableCors();
await app.listen(process.env.PORT ?? 3000);
// Bind all interfaces explicitly so the container is reachable from nginx.
await app.listen(process.env.PORT ?? 3000, '0.0.0.0');
}
bootstrap();