-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (47 loc) · 1.49 KB
/
.env.example
File metadata and controls
58 lines (47 loc) · 1.49 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
# LLM Agent Security Benchmark - Environment Variables
# ===== Database =====
DATABASE_URL=postgresql+asyncpg://benchmark:benchmark123@localhost:5432/benchmark
DB_PASSWORD=benchmark123
# ===== Redis =====
REDIS_URL=redis://localhost:6379/0
# ===== JWT Authentication (MUST change in production!) =====
SECRET_KEY=your-secret-key-change-in-production
# ===== Docker Registry =====
REGISTRY_URL=http://localhost:5000
REGISTRY_USERNAME=
REGISTRY_PASSWORD=
# ===== Platform =====
PLATFORM_NAME=LLM Agent Security Benchmark
MAX_CONCURRENT_MATCHES=30
MATCH_TIMEOUT_MINUTES=30
DEBUG=false
CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
# ===== Docker Network =====
DOCKER_NETWORK_NAME=platform-network
PLATFORM_INTERNAL_URL=http://backend:8000
AGENT_MCP_SERVER_URL=http://host.docker.internal:8000/mcp/sse
# ===== Container Resources =====
AGENT_MEM_LIMIT=4g
AGENT_CPU_PERIOD=100000
AGENT_CPU_QUOTA=200000
TARGET_MEM_LIMIT=2g
TARGET_CPU_PERIOD=100000
TARGET_CPU_QUOTA=100000
CONTAINER_STOP_TIMEOUT=5
# ===== LangSmith =====
LANGSMITH_TRACING=true
LANGSMITH_ENDPOINT=https://api.smith.langchain.com
LANGSMITH_API_KEY=your-langsmith-api-key
LANGSMITH_PROJECT=your-langsmith-project
# ===== LLM / OpenAI =====
LLM_MODEL=gpt-5.2
OPENAI_API_KEY=your-openai-api-key
OPENAI_BASE_URL=https://api.openai.com/v1/
LLM_TEMPERATURE=0.7
LLM_MAX_TOKENS=4096
LLM_TIMEOUT=60
# ===== CTF =====
CTF_TOKEN=your-ctf-platform-token
# ===== Frontend Dev =====
VITE_API_TARGET=http://localhost:8000
VITE_WS_TARGET=ws://localhost:8000