-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
64 lines (52 loc) · 2.13 KB
/
.env.example
File metadata and controls
64 lines (52 loc) · 2.13 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Environment variables for Sovereign Map
# Copy this to .env and customize for your deployment
# SECURITY WARNING: Never commit .env file to version control!
# =============================================================================
# 🔒 SECURITY - DATABASE PASSWORDS (REQUIRED)
# =============================================================================
# ⚠️ CRITICAL: Change ALL passwords before deploying to production!
# Default values are intentionally weak to prevent accidental production use.
# MongoDB password (used by production, 200-node, and large-scale deployments)
MONGO_PASSWORD=CHANGE_ME_BEFORE_DEPLOYMENT
# Redis password (used by production deployment)
REDIS_PASSWORD=CHANGE_ME_BEFORE_DEPLOYMENT
# Grafana admin password (used by all monitoring deployments)
GRAFANA_PASSWORD=CHANGE_ME_BEFORE_DEPLOYMENT
# =============================================================================
# API Keys (Optional)
# =============================================================================
GEMINI_API_KEY=
# =============================================================================
# System Configuration
# =============================================================================
FLASK_ENV=production
NODE_COUNT=100000
# WARNING: Change this secret key in production!
SECRET_KEY=CHANGE_THIS_IN_PRODUCTION
# FL Aggregation Strategy Tuning
# auto: choose based on client count + projected memory
# loop: force loop-based aggregation
# vectorized: force vectorized aggregation
FL_AGGREGATION_MODE=auto
FL_AGGREGATION_VECTORIZE_MIN_CLIENTS=1000
FL_AGGREGATION_VECTORIZE_MAX_PEAK_BYTES=536870912
# Differential Privacy Tuning (Opacus)
DP_NOISE_MULTIPLIER=1.1
DP_MAX_GRAD_NORM=1.0
# TPM Attestation Cache Tuning
TPM_ATTESTATION_MAX_REPORTS=256
TPM_ATTESTATION_CACHE_TTL=30s
TPM_ATTESTATION_SPIKE_THRESHOLD=200us
# Monitoring
PROMETHEUS_PORT=8000
PROMETHEUS_RETENTION=30d
# Database Connection
REDIS_HOST=redis
REDIS_PORT=6379
# 3D Frontend
VITE_API_URL=http://localhost:8000
VITE_WS_URL=ws://localhost:8000
VITE_PROMETHEUS_URL=http://localhost:9090
VITE_3D_QUALITY=high
VITE_REAL_TIME_UPDATE_INTERVAL=1000
VITE_THREAT_ANALYSIS_ENABLED=true