forked from Dataojitori/nocturne_memory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
52 lines (44 loc) · 2.34 KB
/
Copy path.env.example
File metadata and controls
52 lines (44 loc) · 2.34 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
# =============================================================================
# Nocturne Memory - Configuration
# =============================================================================
# Copy this file to .env and edit as needed:
# cp .env.example .env
#
# The defaults below point to the included demo database (demo.db).
# Replace DATABASE_URL with your own database path when ready.
# =============================================================================
# Database URL - supports SQLite (local) or PostgreSQL (remote/multi-device)
# IMPORTANT: For SQLite, use an absolute path to ensure consistency across different working directories.
# SQLite (default): sqlite+aiosqlite:///C:/absolute/path/to/demo.db
# PostgreSQL example: postgresql+asyncpg://user:pass@host:5432/dbname
# NOTE: When using Docker Compose, this value is overridden by the DATABASE_URL
# defined in docker-compose.yml (pointing to the postgres container).
DATABASE_URL=sqlite+aiosqlite:///{PROJECT_ROOT}/demo.db
# Valid memory domains (comma-separated)
# These are the top-level namespaces for organizing memories.
# "system" is always available internally and does not need to be listed.
VALID_DOMAINS=core,writer,game,notes
# URIs to auto-load on system://boot (comma-separated)
# These are your AI's "core identity" memories, loaded every time it wakes up.
# Point these to the memories that define WHO your AI is.
CORE_MEMORY_URIS=core://agent,core://my_user,core://agent/my_user
# Docker Compose Configuration
# POSTGRES_DB=nocturne_memory
# POSTGRES_USER=nocturne
# POSTGRES_PASSWORD=change_me_to_a_secure_password
# NGINX_PORT=80
# Admin Dashboard Settings
# Port for the embedded web server (serves Dashboard + REST API).
# In stdio mode this is set via WEB_PORT; in SSE mode via PORT.
WEB_PORT=8233
# Auto-open the Dashboard in your default browser when the MCP server starts.
# Set to false to disable.
AUTO_OPEN_BROWSER=true
# Skip automatic frontend build on first startup.
# The server auto-runs `npm install && npm run build` if frontend/dist/ is missing.
# Set to true if you prefer to build manually or don't need the Dashboard.
SKIP_FRONTEND_BUILD=false
# Authentication Token
# Leave commented out to disable authentication (Local/Single-user mode).
# Uncomment and set a strong token to secure your endpoints if exposing to the internet.
# API_TOKEN=change_me_to_a_secure_token