diff --git a/backend/src/config/database.config.ts b/backend/src/config/database.config.ts index 635512d..f62f5b7 100644 --- a/backend/src/config/database.config.ts +++ b/backend/src/config/database.config.ts @@ -27,10 +27,8 @@ export const databaseConfig: TypeOrmModuleAsyncOptions = { // NEVER synchronize — use migrations only synchronize: false, - // SSL in production - ssl: configService.get('NODE_ENV') === 'production' - ? { rejectUnauthorized: false } - : false, + // SSL is not required for internal Docker network + ssl: false, // Logging based on environment logging: configService.get('NODE_ENV') === 'development'