forked from GeminiLight/MindOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
38 lines (31 loc) · 1.36 KB
/
Copy path.env.local.example
File metadata and controls
38 lines (31 loc) · 1.36 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
# MindOS Environment Variables Reference
#
# These variables are normally managed automatically via `mindos init`,
# which writes them to ~/.mindos/config.json and injects them at startup.
#
# You can override any variable by setting it in your shell environment
# before running `mindos dev` / `mindos start`. Shell env vars take precedence
# over ~/.mindos/config.json.
#
# Manual setup (advanced): copy this file to .env.local and fill in the values.
# This is only needed if you run `next dev` directly instead of `mindos dev`.
# Knowledge base root directory (absolute path)
MIND_ROOT=/path/to/my-mind
# Web app port (default: 3456)
MINDOS_WEB_PORT=3456
# AI Provider: "anthropic" (default) or "openai"
AI_PROVIDER=anthropic
# Anthropic
ANTHROPIC_API_KEY=sk-ant-...
ANTHROPIC_MODEL=claude-sonnet-4-6
# OpenAI (if AI_PROVIDER=openai)
# OPENAI_API_KEY=sk-...
# OPENAI_MODEL=gpt-5.4
# OPENAI_BASE_URL= # only needed for proxies or OpenAI-compatible endpoints
# Optional: protect /api/* and MCP HTTP /mcp with bearer token auth.
# When set, all requests must include "Authorization: Bearer <token>".
# Strongly recommended when the app is exposed to a network.
# AUTH_TOKEN=your-secret-token
# Optional: protect the web UI with a password (separate from AUTH_TOKEN).
# When set, visiting the app in a browser requires entering this password first.
# WEB_PASSWORD=your-ui-password