This repository was archived by the owner on Jun 22, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
103 lines (84 loc) · 4.09 KB
/
Copy path.env.example
File metadata and controls
103 lines (84 loc) · 4.09 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# EVE Gatekeeper Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# DATABASE
# =============================================================================
# SQLite (default for development)
DATABASE_URL=sqlite:///./eve_gatekeeper.db
# PostgreSQL (recommended for production)
# POSTGRES_URL=postgresql://user:password@localhost:5432/eve_gatekeeper
# =============================================================================
# ESI (EVE Swagger Interface)
# =============================================================================
# Register your application at https://developers.eveonline.com/
ESI_CLIENT_ID=
ESI_SECRET_KEY=
ESI_CALLBACK_URL=http://localhost:8000/callback
# ESI rate limiting and timeout settings
ESI_CONCURRENCY_LIMIT=20 # Max concurrent ESI requests
ESI_TIMEOUT=30.0 # ESI request timeout in seconds
# =============================================================================
# ZKILLBOARD
# =============================================================================
# User agent for zKillboard API requests
ZKILL_USER_AGENT=EVE_Gatekeeper/1.0
# Use mock data for kill stream instead of real zkillboard WebSocket
# Set to "true" for development without live data
NEXT_PUBLIC_USE_MOCK_KILLS=false
# =============================================================================
# REDIS (optional, falls back to in-memory cache)
# =============================================================================
# REDIS_URL=redis://localhost:6379
# =============================================================================
# LOGGING
# =============================================================================
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Log format: "json" for production, "console" for development
LOG_FORMAT=console
# =============================================================================
# RATE LIMITING
# =============================================================================
RATE_LIMIT_ENABLED=true
RATE_LIMIT_PER_MINUTE=100
# =============================================================================
# CORS
# =============================================================================
# Allowed origins (JSON array or comma-separated)
CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"]
# =============================================================================
# SECURITY
# =============================================================================
# Enable API key authentication
API_KEY_ENABLED=false
# API_KEY=your-api-key-here
# Secret key for session signing (change in production!)
SECRET_KEY=change-me-in-production
# =============================================================================
# MONITORING
# =============================================================================
# Sentry DSN for error tracking (optional)
# SENTRY_DSN=https://xxx@sentry.io/xxx
# Enable Prometheus metrics endpoint
METRICS_ENABLED=true
# =============================================================================
# CACHE TTLs (in seconds)
# =============================================================================
CACHE_TTL_ESI=300 # ESI responses: 5 minutes
CACHE_TTL_ROUTE=600 # Route calculations: 10 minutes
CACHE_TTL_RISK=120 # Risk scores: 2 minutes
# =============================================================================
# STRIPE BILLING (Pro subscriptions)
# =============================================================================
# STRIPE_SECRET_KEY=sk_test_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# STRIPE_PRO_MONTHLY_PRICE_ID=price_...
# =============================================================================
# FRONTEND
# =============================================================================
# Base URL of the web frontend (enables OAuth redirect to SPA callback)
# API_BASE_URL=http://localhost:3000
# =============================================================================
# DEBUG
# =============================================================================
DEBUG=false