-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (32 loc) · 1010 Bytes
/
.env.example
File metadata and controls
35 lines (32 loc) · 1010 Bytes
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
OPENAI_API_KEY=sk-...
PORT=3001
JWT_SECRET=change-this-to-a-random-string
SMTP_HOST=mail.yourdomain.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=noreply@yourdomain.com
SMTP_PASS=yourpassword
SMTP_FROM=BadShuffle <noreply@yourdomain.com>
APP_URL=http://localhost:3001
DB_PATH=./badshuffle.db
UPLOADS_DIR=./uploads
VITE_API_BASE=
USE_RUST_INVENTORY=0
RUST_INVENTORY_SHADOW_MODE=0
USE_RUST_PRICING=0
RUST_PRICING_SHADOW_MODE=0
RUST_ENGINE_URL=http://127.0.0.1:3101
RUST_ENGINE_TIMEOUT_MS=2500
# Optional override for the Rust service; falls back to DB_PATH when unset
# RUST_ENGINE_DB_PATH=./server/badshuffle.db
# Onyx is configured primarily through BadShuffle Settings.
# Managed local Onyx requires Docker + Docker Compose on the host.
# Useful CLI helpers:
# npm run onyx:detect
# npm run onyx:install
# npm run onyx:start
# Optional API rate limits (see server/index.js)
# API_RATE_LIMIT_WINDOW_MS=60000
# API_RATE_LIMIT_MAX=600
# API_AUTH_RATE_LIMIT_WINDOW_MS=900000
# API_AUTH_RATE_LIMIT_MAX=60