28 lines
829 B
Bash
28 lines
829 B
Bash
# ── HomeHub — variables d'environnement ──
|
|
# Copier en .env et compléter. Ne JAMAIS committer le .env réel.
|
|
|
|
# PostgreSQL
|
|
POSTGRES_USER=homehub
|
|
POSTGRES_PASSWORD=change-me
|
|
POSTGRES_DB=homehub
|
|
|
|
# Connexion backend (alignée sur les valeurs PostgreSQL ci-dessus)
|
|
DATABASE_URL=postgresql+asyncpg://homehub:change-me@db:5432/homehub
|
|
|
|
# Stockage médias / données
|
|
UPLOAD_DIR=/data/uploads
|
|
DATA_DIR=/data
|
|
|
|
# Redis
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# CORS — réseau local autorisé (séparés par des virgules)
|
|
CORS_ORIGINS=http://localhost:3001,http://10.0.0.50:3001,http://10.0.1.137:3001,http://10.0.1.65:3001,http://10.0.1.45:3001
|
|
|
|
|
|
# Clé Bearer du serveur MCP (générer une valeur aléatoire forte)
|
|
MCP_API_KEY=4zfCmiC3Z_28F3xPOxBSDi0DQx6aRzAQrpplyywo_VI
|
|
|
|
# Port exposé du frontend (déploiement)
|
|
FRONTEND_PORT=3001
|