feat: add api liveness and readiness checks
This commit is contained in:
14
backend/apps/api/src/health/health.module.ts
Normal file
14
backend/apps/api/src/health/health.module.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import {
|
||||
PostgresModule,
|
||||
RedisModule,
|
||||
} from '../../../../libs/infrastructure/src';
|
||||
import { HealthController } from './health.controller';
|
||||
import { ReadinessService } from './readiness.service';
|
||||
|
||||
@Module({
|
||||
imports: [PostgresModule, RedisModule],
|
||||
controllers: [HealthController],
|
||||
providers: [ReadinessService],
|
||||
})
|
||||
export class HealthModule {}
|
||||
Reference in New Issue
Block a user