mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 05:29:39 +02:00
- 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
43 lines
1.3 KiB
TypeScript
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 {}
|