mirror of
https://github.com/docmost/docmost.git
synced 2026-07-25 00:22:59 +10:00
14 lines
451 B
TypeScript
14 lines
451 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
import { HealthController } from './health.controller';
|
|
import { TerminusModule } from '@nestjs/terminus';
|
|
import { PostgresHealthIndicator } from './postgres.health';
|
|
import { RedisHealthIndicator } from './redis.health';
|
|
|
|
@Global()
|
|
@Module({
|
|
controllers: [HealthController],
|
|
providers: [PostgresHealthIndicator, RedisHealthIndicator],
|
|
imports: [TerminusModule],
|
|
})
|
|
export class HealthModule {}
|