-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
71 lines (56 loc) · 2.25 KB
/
Copy pathenv.example
File metadata and controls
71 lines (56 loc) · 2.25 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
60
61
62
63
64
65
66
67
68
69
70
71
# TaleSpinner backend environment (monorepo root)
# Canonical location: /.env
# Backend listen port (1-65535).
PORT=5000
# Account access policy: local | public.
# local allows passwordless accounts and automatic login.
# public requires the hardened authentication settings below.
TALESPINNER_ACCESS_MODE=local
# Required in public mode. Use independent random values.
TALESPINNER_SESSION_SECRET=
TALESPINNER_SETUP_TOKEN=
# Public deployments are expected to terminate HTTPS at a trusted reverse proxy.
TALESPINNER_TRUST_PROXY=false
TALESPINNER_ALLOW_REGISTRATION=false
TALESPINNER_SESSION_TTL_DAYS=30
# Network exposure. Keep LAN mode disabled for a local-only installation.
# A public deployment normally sets LAN mode to true behind an HTTPS proxy and
# lists the exact browser origin (no wildcard), for example:
# TALESPINNER_LAN_MODE=true
# TALESPINNER_CORS_ORIGINS=https://talespinner.example.com
TALESPINNER_LAN_MODE=false
TALESPINNER_HOST=0.0.0.0
TALESPINNER_CORS_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
# Optional Vite development proxy target. The browser still uses same-origin
# /api, /media and /defaults URLs; Vite forwards them to this backend.
VITE_DEV_PROXY_TARGET=http://127.0.0.1:5000
# Base directory for backend runtime data.
# Absolute path is supported.
# Relative path is resolved from monorepo root.
DATA_DIR=./data
# SQLite path override.
# Absolute path is supported.
# Relative path is resolved from monorepo root.
# If empty, defaults to <DATA_DIR>/db.sqlite.
DB_PATH=./data/db.sqlite
# Master key for token encryption in DB.
TOKENS_MASTER_KEY=change-me
# ChromaDB endpoint override.
# If set, backend uses this URL directly.
# Example: http://127.0.0.1:8000
CHROMA_URL=
# ChromaDB host/port mode (used when CHROMA_URL is empty).
CHROMA_HOST=127.0.0.1
CHROMA_PORT=8000
CHROMA_SSL=false
# ChromaDB tenant/database.
CHROMA_TENANT=default_tenant
CHROMA_DATABASE=default_database
# Default collection used for World Info indexing/query endpoints.
CHROMA_COLLECTION_WORLD_INFO=world-info
# Local path for Chroma data volume (for local docker/persist setup).
# Absolute path is supported.
# Relative path is resolved from monorepo root.
CHROMA_DATA_DIR=./data/chroma
# Request timeout for backend -> Chroma calls in milliseconds.
CHROMA_TIMEOUT_MS=15000