Files
Socialflow/.env.example
T
michaelschal 8ea8ad8085 Update application and database port configurations
Adjusted Docker configuration, exposing PostgreSQL on port 4523 and the application on internal port 5555, with Nginx proxying requests to the application. Updated Dockerfile, docker-compose.yml, and DOCKER.md accordingly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/rBcOjHB
2025-10-17 13:09:32 +00:00

30 lines
811 B
Bash

# Configuration de la base de données PostgreSQL
PGDATABASE=socialflow
PGUSER=socialflow
PGPASSWORD=changeme
PGPORT=5432
PGHOST=postgres
# URL de connexion complète (générée automatiquement dans Docker)
DATABASE_URL=postgresql://socialflow:changeme@postgres:5432/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é 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=