docker changes

This commit is contained in:
Anushlinux
2025-08-07 21:36:22 +05:30
parent 1e70ed74e1
commit a0c3daac96
9 changed files with 681 additions and 80 deletions

View File

@@ -0,0 +1,27 @@
import { NextResponse } from 'next/server'
export async function GET() {
try {
// You can add additional health checks here
// For example, database connectivity, external service checks, etc.
return NextResponse.json(
{
status: 'ok',
timestamp: new Date().toISOString(),
service: 'admin-app'
},
{ status: 200 }
)
} catch (error) {
return NextResponse.json(
{
status: 'error',
message: 'Health check failed',
timestamp: new Date().toISOString(),
service: 'admin-app'
},
{ status: 500 }
)
}
}