-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
35 lines (29 loc) · 1.24 KB
/
Copy path.env.example
File metadata and controls
35 lines (29 loc) · 1.24 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
# Lore root-level docker compose config
# Database container
POSTGRES_DB=lore
POSTGRES_USER=lore
POSTGRES_PASSWORD=change-me
POSTGRES_PORT=55439
POSTGRES_DATA_DIR=./data/postgres
DATABASE_URL=postgresql://lore:change-me@postgres:5432/lore
# Next.js app
API_TOKEN=your-token-if-needed
WEB_PORT=18901
LORE_DB_POOL_SIZE=10
# Boot is fixed server-side to core://agent, core://soul, preferences://user,
# plus the active client-specific core://agent/<client_type> node.
# Optional Redis cache backend. If unset or unreachable at startup, Lore uses in-process local LRU cache.
# Cache itself is enabled/disabled from the Lore settings page; default is enabled.
REDIS_URL=redis://redis:6379/0
CACHE_KEY_PREFIX=lore
CACHE_LOCAL_MAX_ITEMS=2000
REDIS_DATA_DIR=./data/redis
# Local files for backups and pending review changesets.
# docker-compose.yml mounts this host directory to /app/snapshots in the Web container.
SNAPSHOT_DATA_DIR=./data/snapshots
# Runtime model settings are configured through /setup, /settings, or /api/settings.
# They are stored in the app_settings table, not read from this .env file.
# Optional image overrides
LORE_POSTGRES_IMAGE=fffattiger/pgvector-zhparser:pg16
LORE_REDIS_IMAGE=redis:7-alpine
LORE_FRONTEND_IMAGE=fffattiger/lore:latest