-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.local.example
More file actions
30 lines (24 loc) · 1.46 KB
/
.env.local.example
File metadata and controls
30 lines (24 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Configuration locale pour l'infrastructure partagée
# Copier ce fichier vers .env.local et ajuster selon votre environnement
# =============================================================================
# Valkey - Cache partagé entre les branches (Redis-compatible)
# =============================================================================
# Option 1: Valkey local (Docker ou natif)
REDIS_URL=redis://localhost:6379/0
# Option 2: Valkey Docker sur le réseau host
# REDIS_URL=redis://host.docker.internal:6379/0
# =============================================================================
# PostgreSQL - Base de données partagée entre les branches
# =============================================================================
# Option 1: PostgreSQL local (Docker ou natif)
DATABASE_URL=postgresql+asyncpg://myelectricaldata:mySecurePassword2025@localhost:5432/myelectricaldata
# Option 2: PostgreSQL Docker sur le réseau host
# DATABASE_URL=postgresql+asyncpg://myelectricaldata:mySecurePassword2025@host.docker.internal:5432/myelectricaldata
# Option 3: SQLite (pas recommandé pour multi-branches)
# DATABASE_URL=sqlite+aiosqlite:///./data/myelectricaldata.db
# =============================================================================
# Ports personnalisés (optionnel)
# =============================================================================
# Si vous voulez forcer des ports spécifiques au lieu de ports dynamiques
# FRONTEND_PORT=8000
# BACKEND_PORT=8081