forked from TGlide/thom-chat
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
43 lines (31 loc) · 1.52 KB
/
.env.example
File metadata and controls
43 lines (31 loc) · 1.52 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
# Database is local SQLite - no external config needed
# Better Auth secret for session encryption
BETTER_AUTH_SECRET=
# Better Auth URL (required for production, e.g. https://example.com)
BETTER_AUTH_URL=http://localhost:3432
# Trusted Origins (comma-separated list of URLs)
BETTER_AUTH_TRUSTED_ORIGINS=
# Encryption key for API keys in the database
# Generate a secure random string (at least 32 characters)
# You can generate one with: openssl rand -base64 32
# IMPORTANT: Keep this key secure and never change it, or all encrypted API keys will be lost
ENCRYPTION_KEY=
# Optional: dedicated secret for developer API key lookup hashes.
# If unset, the app falls back to ENCRYPTION_KEY or BETTER_AUTH_SECRET.
API_KEY_HASH_SECRET=
NANOGPT_API_KEY=
# Optional: override NanoGPT base URL (useful for proxies)
NANOGPT_BASE_URL=https://nano-gpt.com
# Artificial Analysis API key for model benchmarks (optional)
# Get a free key at https://artificialanalysis.ai/
ARTIFICIAL_ANALYSIS_API_KEY=
# Set to "true" to disable new account creation
DISABLE_SIGNUPS=false
# Restrict to subscription models only (when using server API key)
SUBSCRIPTION_MODELS_ONLY=false
# Set daily message limit for users using server API key (0 = unlimited)
DAILY_MESSAGE_LIMIT=0
# Disable web search/web scraping/context memory for users using server API key (only active if SUBSCRIPTION_MODELS_ONLY=true)
DISABLE_WEB_ON_SERVER_KEY_WITH_SUBSCRIPTION_ONLY=false
# Increase body size limit for file uploads (SvelteKit default is 512KB) 50000000=50MB
BODY_SIZE_LIMIT=50000000