-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (35 loc) · 1.13 KB
/
.env.example
File metadata and controls
45 lines (35 loc) · 1.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
# ============================================
# kleoz Configuration
# ============================================
# Copy this file to .env and fill in the values
# === Server ===
PORT=3000
HOST=0.0.0.0
NODE_ENV=development
# === OpenClaw Gateway ===
# URL of the OpenClaw Gateway WebSocket
OPENCLAW_GATEWAY_URL=ws://localhost:18789
# Gateway authentication token
# Get this from your OpenClaw config: gateway.auth.token
OPENCLAW_GATEWAY_TOKEN=your-gateway-token-here
# === Authentication ===
# Secret key for JWT signing (use a long random string in production)
# Generate with: openssl rand -hex 32
JWT_SECRET=change-me-in-production-use-random-string
# JWT token expiration (default: 7 days)
JWT_EXPIRES_IN=7d
# === Database ===
# Path to SQLite database file
DATABASE_PATH=./data/kleoz.db
# === Initial Admin User ===
# Only used on first run to create admin account
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me-immediately
# === Uploads ===
# Directory for file uploads
UPLOADS_PATH=./data/uploads
# Maximum upload size in bytes (default: 50MB)
MAX_UPLOAD_SIZE=52428800
# === Logging ===
# Log level: debug, info, warn, error
LOG_LEVEL=info