forked from xprilion/OpenMLR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
96 lines (73 loc) · 4.36 KB
/
.env.example
File metadata and controls
96 lines (73 loc) · 4.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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# OpenMLR Environment Configuration
# Copy to .env: cp .env.example .env
#
# IMPORTANT: No variables are required to START the app.
# Docker Compose auto-configures database and Redis.
# LLM keys can be added via Settings UI after login.
# ═══════════════════════════════════════════════════════════
# DATABASE (auto-configured in Docker Compose)
# ═══════════════════════════════════════════════════════════
# Only needed for local development without Docker
# DATABASE_URL=postgresql+asyncpg://openmlr:openmlr@localhost:5432/openmlr
# ═══════════════════════════════════════════════════════════
# SECURITY
# ═══════════════════════════════════════════════════════════
# Auto-generated in development mode
# For production, generate with: openssl rand -hex 32
# JWT_SECRET_KEY=
# CORS allowed origins (comma-separated)
# CORS_ORIGINS=http://localhost:3000,http://localhost:5173
# ═══════════════════════════════════════════════════════════
# LLM PROVIDERS
# Configure via Settings UI (recommended) or here
# At least one required for the agent to work
# ═══════════════════════════════════════════════════════════
# Cloud providers
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
OPENROUTER_API_KEY=
# OpenCode Go - open models subscription ($5-10/mo)
# Models: glm-5.1, kimi-k2.6, deepseek-v4-pro, qwen3.6-plus
# Get key at https://opencode.ai/auth
# OPENCODE_GO_API_KEY=
# ─── Local Models (OpenAI-compatible APIs) ────────────────
# Ollama
# OLLAMA_API_BASE=http://localhost:11434/v1
# OLLAMA_MODEL=llama3.1
# LM Studio
# LMSTUDIO_API_BASE=http://localhost:1234/v1
# LMSTUDIO_MODEL=default
# Any OpenAI-compatible API (vLLM, text-generation-inference, etc.)
# LOCAL_API_BASE=http://localhost:8000/v1
# LOCAL_MODEL=local/my-model
# LOCAL_API_KEY=not-needed
# ═══════════════════════════════════════════════════════════
# BACKGROUND JOBS (auto-configured in Docker Compose)
# ═══════════════════════════════════════════════════════════
# Enable for persistent processing that survives browser refresh
# REDIS_URL=redis://localhost:6379/0
# USE_BACKGROUND_JOBS=true
# USE_REDIS_PUBSUB=true
# ═══════════════════════════════════════════════════════════
# TOOLS & INTEGRATIONS
# Configure via Settings UI (recommended) or here
# All optional - app works without them
# ═══════════════════════════════════════════════════════════
# Web search
BRAVE_API_KEY=
# GitHub integration
GITHUB_TOKEN=
# OpenAlex email for faster rate limits (paper search works without it)
# OPENALEX_EMAIL=you@example.com
# ═══════════════════════════════════════════════════════════
# SANDBOX / CODE EXECUTION
# ═══════════════════════════════════════════════════════════
# Docker image for sandboxed code execution
# OPEN_MLR_DOCKER_IMAGE=python:3.12-slim
# Allow direct host execution when Docker unavailable (SECURITY RISK)
# OPENMLR_ALLOW_DIRECT_EXEC=false
# Restrict file operations to this directory
# OPENMLR_WORKSPACE_ROOT=/path/to/workspace
# Modal.com cloud sandbox (optional)
# MODAL_TOKEN_ID=
# MODAL_TOKEN_SECRET=