-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
44 lines (33 loc) · 1.07 KB
/
.env.example
File metadata and controls
44 lines (33 loc) · 1.07 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ====================================
# Unified Environment Configuration
# ====================================
# This file combines backend and frontend environment variables.
# ====================================
# Backend Settings
# ====================================
# Application Settings
APP_NAME=MirrorOne
DEBUG=false
# Database (SQLite with async support)
DATABASE_URL=sqlite+aiosqlite:///./data/app.db
# Redis Connection
REDIS_URL=redis://redis:6379/0
# Security - CHANGE THESE IN PRODUCTION!
SECRET_KEY=your-super-secret-key-change-in-production
JWT_ALGORITHM=HS256
JWT_EXPIRE_HOURS=24
# Initial Admin User
ADMIN_USERNAME=admin
ADMIN_PASSWORD=password
# CORS Settings
CORS_ORIGINS=["http://localhost:3000","http://frontend:3000"]
# ====================================
# Frontend Settings
# ====================================
# API URL for backend communication
NEXT_PUBLIC_API_URL=http://backend:8000
# ====================================
# Cloudflare Tunnel
# ====================================
# Tunnel token for cloudflared
TUNNEL_TOKEN=your-tunnel-token-here