mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-12 01:36:54 +02:00
34 lines
977 B
Bash
34 lines
977 B
Bash
# Configuration de la base de données PostgreSQL
|
|
PGDATABASE=socialflow
|
|
PGUSER=socialflow
|
|
PGPASSWORD=changeme
|
|
PGPORT=4523
|
|
PGHOST=postgres
|
|
|
|
# URL de connexion complète (générée automatiquement dans Docker)
|
|
DATABASE_URL=postgresql://socialflow:changeme@postgres:4523/socialflow
|
|
|
|
# Configuration de l'application
|
|
PORT=5555
|
|
NODE_ENV=production
|
|
APP_URL=http://localhost:5555
|
|
|
|
# Clé secrète pour les sessions (CHANGEZ CETTE VALEUR)
|
|
SESSION_SECRET=your-secret-key-change-me-to-random-string
|
|
|
|
# Clé de chiffrement pour les tokens Facebook/Instagram (OBLIGATOIRE en production)
|
|
# Générer avec: openssl rand -hex 32
|
|
ENCRYPTION_KEY=your-32-byte-hex-key-here
|
|
|
|
# Clé API OpenRouter pour la génération de texte IA
|
|
# Obtenez votre clé sur https://openrouter.ai/
|
|
OPENROUTER_API_KEY=your-openrouter-api-key-here
|
|
|
|
# Optionnel: Configuration Facebook API
|
|
# FACEBOOK_APP_ID=
|
|
# FACEBOOK_APP_SECRET=
|
|
|
|
# Optionnel: Configuration Instagram API
|
|
# INSTAGRAM_APP_ID=
|
|
# INSTAGRAM_APP_SECRET=
|