forked from Th0rgal/sandboxed.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (68 loc) · 3.37 KB
/
.env.example
File metadata and controls
78 lines (68 loc) · 3.37 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
# Open Agent - Environment Configuration
# Copy this file to .env and fill in your values.
# =============================================================================
# OpenCode Backend
# =============================================================================
OPENCODE_BASE_URL=http://127.0.0.1:4096
OPENCODE_PERMISSIVE=true
# Agent/model defaults are configured in OpenCode / oh-my-opencode.
# Avoid overriding them here unless you explicitly need to.
#
# Optional: set this to the same config directory used by the OpenCode service
# when running in strong skill isolation mode (see INSTALL.md).
# OPENCODE_CONFIG_DIR=/var/lib/opencode/.config/opencode
# Optional: abort stuck tools after N seconds (0 = disabled)
# TOOL_STUCK_ABORT_TIMEOUT_SECS=0
# =============================================================================
# Workspace + Library
# =============================================================================
WORKING_DIR=/root
LIBRARY_PATH=/root/.openagent/library
# LIBRARY_REMOTE=git@github.com:your-org/agent-library.git
# =============================================================================
# Server
# =============================================================================
HOST=0.0.0.0
PORT=3000
MAX_ITERATIONS=50
STALE_MISSION_HOURS=24
MAX_PARALLEL_MISSIONS=1
# =============================================================================
# Auth (JWT)
# =============================================================================
# Set DEV_MODE=false in production
DEV_MODE=true
DASHBOARD_PASSWORD=change-me
JWT_SECRET=change-me-to-a-long-random-string
JWT_TTL_DAYS=30
# Multi-user auth (optional, overrides DASHBOARD_PASSWORD)
# OPEN_AGENT_USERS='[{"username":"admin","password":"change-me","id":"admin"}]'
# =============================================================================
# Dashboard Console (local shell)
# =============================================================================
# No SSH configuration required.
# =============================================================================
# Optional: Web Search (Tavily)
# =============================================================================
# If not set, falls back to DuckDuckGo HTML (may be blocked by CAPTCHA)
# TAVILY_API_KEY=tvly-...
# =============================================================================
# Optional: Desktop Automation
# =============================================================================
# DESKTOP_ENABLED=true
# DESKTOP_RESOLUTION=1920x1080
# DESKTOP_DISPLAY=:101
# =============================================================================
# Optional: Secrets encryption (for stored secrets)
# =============================================================================
# OPENAGENT_SECRET_PASSPHRASE=change-me
# =============================================================================
# Template Env Vars Encryption
# =============================================================================
# Static AES-256-GCM key for encrypting env_vars in workspace templates.
# Format: 64 hex chars (32 bytes) or base64-encoded 32 bytes.
# If not set on first template save, a key will be auto-generated and appended.
# Encrypted values are stored as: <encrypted v="1">BASE64(nonce||ciphertext)</encrypted>
# Legacy plaintext values remain readable (backward compatible).
#
# PRIVATE_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef