-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.env.example
More file actions
38 lines (30 loc) · 1.01 KB
/
.env.example
File metadata and controls
38 lines (30 loc) · 1.01 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
# Claude Proxy Configuration
# Required: Anthropic API Key
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Optional: Server Configuration
HOST=0.0.0.0
PORT=8000
# Optional: Logging Configuration (centralized)
LOGGING__LEVEL=INFO
LOGGING__FORMAT=auto
LOGGING__FILE=/tmp/ccproxy/ccproxy.log
LOGGING__VERBOSE_API=false
LOGGING__PLUGIN_LOG_BASE_DIR=/tmp/ccproxy
# Optional: Security Configuration
CLAUDE_USER=claude
CLAUDE_GROUP=claude
CLAUDE_WORKING_DIRECTORY=/tmp/claude-workspace
# Optional: User/Group ID mapping for Docker
# Set these to match your host user ID to avoid permission issues
# Find your user ID with: id -u
# Find your group ID with: id -g
PUID=1000
PGID=1000
# Optional: Rate Limiting
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=60
# Optional: Request Timeout
REQUEST_TIMEOUT=300
# Optional: CORS Origins (comma-separated, avoid using '*' for security)
# Examples: http://localhost:3000,https://app.example.com
CORS_ORIGINS=http://localhost:3000,http://localhost:8080,http://127.0.0.1:3000,http://127.0.0.1:8080