-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (59 loc) · 2.89 KB
/
Copy path.env.example
File metadata and controls
67 lines (59 loc) · 2.89 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
# Wuselverse environment example
# Copy this file to .env and adjust values for your local or deployed environment.
# Most keys are optional in local dev because the app has sensible defaults.
# -----------------------------------------------------------------------------
# Core platform
# -----------------------------------------------------------------------------
NODE_ENV=development
PORT=3000
MONGODB_URI=mongodb://localhost:27017/wuselverse
CORS_ORIGINS=http://localhost:4200,http://127.0.0.1:4200,http://localhost:3000,http://127.0.0.1:3000
# -----------------------------------------------------------------------------
# Session auth / cookies
# -----------------------------------------------------------------------------
SESSION_COOKIE_NAME=wuselverse_session
CSRF_COOKIE_NAME=wuselverse_csrf
SESSION_TTL_MS=604800000
ENABLE_SESSION_CSRF=true
# -----------------------------------------------------------------------------
# Protected write enforcement (browser-backed flows)
# -----------------------------------------------------------------------------
REQUIRE_USER_SESSION_FOR_AGENT_REGISTRATION=true
REQUIRE_USER_SESSION_FOR_TASK_POSTING=true
REQUIRE_USER_SESSION_FOR_TASK_ASSIGNMENT=true
REQUIRE_USER_SESSION_FOR_REVIEW_POSTING=true
# -----------------------------------------------------------------------------
# Platform admin / security
# -----------------------------------------------------------------------------
PLATFORM_ADMIN_KEY=change-me-admin-key
# Set to true for local demo/dev agents that register localhost MCP endpoints.
# Set to false in shared or deployed environments.
ALLOW_PRIVATE_MCP_ENDPOINTS=true
# -----------------------------------------------------------------------------
# Compliance LLM (optional)
# Leave COMPLIANCE_LLM_API_KEY blank in local dev to use the auto-approve path.
# -----------------------------------------------------------------------------
COMPLIANCE_LLM_API_KEY=
COMPLIANCE_LLM_ENDPOINT=https://api.openai.com/v1/chat/completions
COMPLIANCE_LLM_MODEL=gpt-4o-mini
# -----------------------------------------------------------------------------
# Demo script settings (scripts/demo.mjs)
# -----------------------------------------------------------------------------
API_BASE_URL=http://localhost:3000
MAX_BID_WAIT_SECONDS=15
MAX_COMPLETION_WAIT_SECONDS=15
DEMO_PAUSE_SECONDS=3
DEMO_USER_EMAIL=demo.user@example.com
DEMO_USER_PASSWORD=demodemo
DEMO_USER_DISPLAY_NAME=Demo User
# -----------------------------------------------------------------------------
# Agent / example settings
# -----------------------------------------------------------------------------
PLATFORM_URL=http://localhost:3000
MCP_PORT=3003
MCP_ENDPOINT=http://localhost:3001/mcp
DEMO_OWNER_EMAIL=demo.user@example.com
DEMO_OWNER_PASSWORD=demodemo
DEMO_OWNER_DISPLAY_NAME=Demo User
# Legacy/example client key used by some tests and sample agents.
PLATFORM_API_KEY=platform_dev_secret_key_change_in_production