260318:1547 Fix UUID #09
Build and Deploy / deploy (push) Failing after 13m36s

This commit is contained in:
admin
2026-03-18 15:47:05 +07:00
parent a82579190b
commit c1cbecf5aa
3 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -77,6 +77,6 @@ USER nestjs
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=30s \
CMD curl -f http://localhost:3000/health || exit 1
CMD curl -f http://localhost:3000/ping || exit 1
CMD ["node", "dist/main"]
@@ -19,6 +19,11 @@ export class HealthController {
private disk: DiskHealthIndicator
) {}
@Get('ping')
ping() {
return { status: 'ok', timestamp: new Date().toISOString() };
}
@Get('health')
@HealthCheck()
check() {