Update the application's production environment for enhanced performance

Refactors the Docker setup, upgrades Node.js and PostgreSQL versions, and improves security.

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/6nnsA2m
This commit is contained in:
michaelschal committed 2025-07-19 13:46:47 +00:00
1 parent de8434c508
commit a939b1068d
9 files changed
+717 -109

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# Configuration de Production RegisFlow 2025
# Copiez ce fichier en .env.production et modifiez les valeurs
# Base de données PostgreSQL
POSTGRES_PASSWORD=RegisFlow2025!PostgreSQL_CHANGEME
POSTGRES_PORT=5433
# Application
APP_PORT=5000
SESSION_SECRET=RegisFlow2025SessionSecretKey_CHANGEME_MINIMUM_32_CHARACTERS
NODE_ENV=production
TZ=Europe/Paris
# Sécurité
SECURE_COOKIES=true
LOG_LEVEL=info
# Limites et rétention
DATA_RETENTION_MONTHS=19
BACKUP_RETENTION_DAYS=90
MAX_BACKUP_COUNT=20
PHOTO_STORAGE_LIMIT=10485760
# Déployment optionnel avec réseau nginx
# Décommentez si vous utilisez un reverse proxy
# networks:
# default:
# external: true
# name: nginx_default