-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.env.example
More file actions
32 lines (25 loc) · 1.93 KB
/
Copy pathserver.env.example
File metadata and controls
32 lines (25 loc) · 1.93 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
# NEURAL_MESH Memory Service — Environment Config
# Copy to .env and fill in your values
# ─── Server ──────────────────────────────────────────────────
NEURAL_MESH_PORT=4021
NEURAL_MESH_DB=/opt/data/NEURAL_MESH/mesh.db
NEURAL_MESH_HOST=127.0.0.1 # bind localhost (Nginx proxies from public)
# ─── Auth ────────────────────────────────────────────────────
# Set a strong API token for write endpoints (add, dream, merge, stamp)
# Generate one: openssl rand -hex 32
NEURAL_MESH_API_TOKEN=change-me-generate-with-openssl-rand-hex-32
# ─── Rate Limiting ───────────────────────────────────────────
NEURAL_MESH_RATE_LIMIT=120 # requests per window
NEURAL_MESH_RATE_WINDOW=60 # window in seconds
# ─── CORS ────────────────────────────────────────────────────
# Comma-separated list of allowed origins
NEURAL_MESH_CORS_ORIGINS=https://d0xeddev.com,http://localhost:3000
# ─── YantrikDB (optional) ────────────────────────────────────
YANTRIKDB_DB_PATH=/opt/data/yantrikdb/memory.db
YANTRIKDB_NAMESPACE=d0xeddev
YANTRIKDB_TOP_K=10
# ─── LLM Muse (optional) ─────────────────────────────────────
# OPENROUTER_API_KEY=sk-or-v1-...
# ─── IO Safety ───────────────────────────────────────────────
NEURAL_MESH_SAFE_IO_DIR=/opt/data/NEURAL_MESH/runtime
NEURAL_MESH_MAX_JSON_BYTES=1048576