Files
Regisflow/.env.production.example
T
michaelschal 205e4f03c8 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
2025-07-19 14:33:03 +00:00

30 lines
802 B
Bash

# 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
DATABASE_URL=postgresql://regisflow:RegisFlow2025!PostgreSQL_CHANGEME@regisflow-db:5432/regisflow?sslmode=disable
# 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