mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
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
29 lines
688 B
Bash
29 lines
688 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
|
|
|
|
# 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 |