Ensure application connects to the database correctly in Docker environment

Fixes "The server does not support SSL connections" by disabling SSL in DATABASE_URL for local Docker deployments and in server/db.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/QW0MKzv
This commit is contained in:
michaelschal committed 2025-07-19 14:33:03 +00:00
1 parent f7972c66da
commit 205e4f03c8
6 files changed
+150 -6

No files matched your search

+9 -2
View File
@@ -52,9 +52,16 @@ docker-compose up -d
curl http://localhost:5000/health
```
### Status : ✅ RÉSOLU
### Problème SSL PostgreSQL Résolu
Cette solution garantit un déploiement Docker fiable en production sans les problèmes de fichiers manquants.
4. **Erreur SSL** : "The server does not support SSL connections"
- **Solution** : Configuration SSL désactivée pour Docker local
- **Implémentation** : sslmode=disable dans DATABASE_URL
- **Robustesse** : Détection automatique du mode SSL nécessaire
### Status : ✅ RÉSOLU COMPLET
Cette solution garantit un déploiement Docker fiable en production sans les problèmes de fichiers manquants, migrations échouées, ou erreurs SSL.
---