File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ============================================================
2+ # AI-Powered Security Monitoring & Threat Detection Platform
3+ # Root .env.example - copy to .env and fill in your values
4+ # ============================================================
5+
6+ # --------------------------
7+ # Backend (FastAPI)
8+ # --------------------------
9+
10+ # SQLite (default for local dev - no changes needed)
11+ DATABASE_URL = sqlite:///./security_logs.db
12+
13+ # PostgreSQL (for production - uncomment and set values)
14+ # DATABASE_URL=postgresql://user:password@localhost:5432/security_db
15+
16+ # --------------------------
17+ # Frontend (Next.js)
18+ # --------------------------
19+
20+ # URL of the FastAPI backend that the Next.js dashboard connects to
21+ # For local dev:
22+ NEXT_PUBLIC_API_URL = http://localhost:8000
23+
24+ # For Docker Compose:
25+ # NEXT_PUBLIC_API_URL=http://backend:8000
26+
27+ # For production:
28+ # NEXT_PUBLIC_API_URL=https://your-api-domain.com
29+
30+ # --------------------------
31+ # Docker Compose (optional)
32+ # --------------------------
33+
34+ # Override ports if needed
35+ # BACKEND_PORT=8000
36+ # FRONTEND_PORT=3000
You can’t perform that action at this time.
0 commit comments