-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
51 lines (39 loc) · 1.14 KB
/
.env.example
File metadata and controls
51 lines (39 loc) · 1.14 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
# LMStack Environment Configuration
# Copy this file to .env and modify as needed
# ===================
# Database Configuration
# ===================
POSTGRES_USER=lmstack
POSTGRES_PASSWORD=lmstack
POSTGRES_DB=lmstack
# ===================
# Backend Configuration
# ===================
# IMPORTANT: Change this in production!
SECRET_KEY=change-me-in-production-use-a-secure-random-string
# Enable debug mode (set to false in production)
DEBUG=false
# CORS origins (comma-separated list, or * for all)
CORS_ORIGINS=*
# Backend port
BACKEND_PORT=52000
# ===================
# Frontend Configuration
# ===================
# API URL for frontend (relative path when using reverse proxy)
VITE_API_URL=/api
# Frontend port
FRONTEND_PORT=80
# ===================
# Worker Configuration
# ===================
# Backend URL for worker to connect to
BACKEND_URL=http://localhost:52000
# Worker authentication token (generate with: python -c "import secrets; print(secrets.token_urlsafe(32))")
WORKER_TOKEN=
# Worker name (for identification)
WORKER_NAME=gpu-worker-01
# Worker agent port
AGENT_PORT=52001
# HuggingFace cache directory
HF_CACHE_DIR=~/.cache/huggingface