From 7ca83fbb6476a52785e7df4860fcb6e565226da0 Mon Sep 17 00:00:00 2001 From: deploy Date: Wed, 29 Apr 2026 11:15:18 +0200 Subject: [PATCH] fix: copy SQL migrations to dist/ in Dockerfile --- backend/src/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/db.ts b/backend/src/db.ts index a9acd4d..1aed53f 100644 --- a/backend/src/db.ts +++ b/backend/src/db.ts @@ -3,7 +3,7 @@ import { config } from './config'; export const db = new Pool({ connectionString: config.databaseUrl, - ssl: config.nodeEnv === 'production' ? { rejectUnauthorized: false } : false, + // Pas de SSL forcé — connexion interne Docker (réseau privé) max: 10, });