managarten/apps/contacts/apps/backend/src/app.module.ts
Till-JS 271496b0fd 🚀 ci: add mana-search and api-gateway to Docker builds
- Add mana-search + SearXNG to docker-compose.macmini.yml
- Add api-gateway dependency on mana-search
- Add CI workflow for building mana-search Docker image
- Add CI workflow for building api-gateway Docker image
2026-01-29 18:34:18 +01:00

43 lines
1.3 KiB
TypeScript

import { Module } from '@nestjs/common';
import { ConfigModule } from '@nestjs/config';
import { MetricsModule } from '@manacore/shared-nestjs-metrics';
import { DatabaseModule } from './db/database.module';
import { ContactModule } from './contact/contact.module';
import { TagModule } from './tag/tag.module';
import { NoteModule } from './note/note.module';
import { ActivityModule } from './activity/activity.module';
import { HealthModule } from '@manacore/shared-nestjs-health';
import { ImportModule } from './import/import.module';
import { ExportModule } from './export/export.module';
import { GoogleModule } from './google/google.module';
import { DuplicatesModule } from './duplicates/duplicates.module';
import { PhotoModule } from './photo/photo.module';
import { BatchModule } from './batch/batch.module';
import { NetworkModule } from './network/network.module';
@Module({
imports: [
ConfigModule.forRoot({
isGlobal: true,
envFilePath: '.env',
}),
MetricsModule.register({
prefix: 'contacts_',
excludePaths: ['/health'],
}),
DatabaseModule,
ContactModule,
TagModule,
NoteModule,
ActivityModule,
HealthModule.forRoot({ serviceName: 'contacts-backend' }),
ImportModule,
ExportModule,
GoogleModule,
DuplicatesModule,
PhotoModule,
BatchModule,
NetworkModule,
],
})
export class AppModule {}