-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (51 loc) · 2.02 KB
/
.env.example
File metadata and controls
59 lines (51 loc) · 2.02 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
# ==================================================
# DeepKnight — Environment Variables
# ==================================================
# Copy this file to .env and fill in your values.
# NEVER commit .env to version control.
# --------------------------------------------------
# Application
# --------------------------------------------------
ENVIRONMENT=development
SECRET_KEY=change-me-to-a-long-random-string-in-production
DEBUG=true
# --------------------------------------------------
# Database
# For production: use a real PostgreSQL URL
# For local dev: SQLite is fine
# --------------------------------------------------
DATABASE_URL=sqlite:///./chess.db
# DATABASE_URL=postgresql://user:password@localhost:5432/chess_ai
# --------------------------------------------------
# CORS
# Comma-separated list of allowed origins
# --------------------------------------------------
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# --------------------------------------------------
# Generative AI — Google AI Studio (Gemini)
# Get your API key at: https://aistudio.google.com/apikey
# --------------------------------------------------
GOOGLE_API_KEY=your-google-ai-studio-api-key-here
GEMINI_MODEL=gemini-2.0-flash
# --------------------------------------------------
# ML / PyTorch
# --------------------------------------------------
MODEL_CHECKPOINT_PATH=data/models/value_net.pt
DEVICE=cpu
# DEVICE=cuda # Uncomment if GPU available
# --------------------------------------------------
# MLflow
# --------------------------------------------------
MLFLOW_TRACKING_URI=./mlruns
MLFLOW_EXPERIMENT_NAME=chess-value-net
# --------------------------------------------------
# Engine defaults
# --------------------------------------------------
DEFAULT_DIFFICULTY=medium
ENGINE_TIMEOUT_SECONDS=10
# --------------------------------------------------
# Frontend (Vite)
# Prefix with VITE_ to expose to the browser
# --------------------------------------------------
VITE_API_URL=http://localhost:8000
VITE_APP_TITLE=DeepKnight