fix(config): Alignement configuration DB avec unionflow et btpxpress
Corrections pour assurer la cohérence avec les autres projets en production : ## Changements ### DB_HOST: postgres → postgresql - kubernetes/afterwork-configmap.yaml - src/main/resources/application-prod.properties (défaut) - Dockerfile.prod (ENV) ### DB_PASSWORD: Pattern cohérent - kubernetes/afterwork-secrets.yaml - Nouveau mot de passe: AfterWork2025! - Suit le pattern observé dans unionflow (UnionFlow2025!) et btpxpress ## Analyse des Projets Existants ### BTPXpress - Host: postgresql - User: btpxpress - Password: btpxpress_secure_2024 ### UnionFlow - Host: postgresql (implicite) - User: unionflow - Password: UnionFlow2025! ### AfterWork (Corrigé) - Host: postgresql ✅ - User: afterwork ✅ - Password: AfterWork2025! ✅ ## Documentation - DATABASE_CONFIG.md : Guide complet de configuration DB - Paramètres de connexion - Commandes de vérification - Troubleshooting - Checklist de déploiement ## Impact ✅ Configuration cohérente avec les autres projets ✅ Évite les erreurs de connexion au déploiement ✅ Pattern de sécurité uniforme ✅ Documentation complète pour maintenance
This commit is contained in:
@@ -13,7 +13,7 @@ quarkus.http.root-path=/afterwork
|
||||
|
||||
# Base de données PostgreSQL (Production)
|
||||
quarkus.datasource.db-kind=postgresql
|
||||
quarkus.datasource.jdbc.url=jdbc:postgresql://${DB_HOST:postgres}:${DB_PORT:5432}/${DB_NAME:afterwork_db}
|
||||
quarkus.datasource.jdbc.url=jdbc:postgresql://${DB_HOST:postgresql}:${DB_PORT:5432}/${DB_NAME:afterwork_db}
|
||||
quarkus.datasource.username=${DB_USERNAME:afterwork}
|
||||
quarkus.datasource.password=${DB_PASSWORD:changeme}
|
||||
quarkus.datasource.jdbc.driver=org.postgresql.Driver
|
||||
|
||||
Reference in New Issue
Block a user