-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (23 loc) · 1.23 KB
/
.env.example
File metadata and controls
33 lines (23 loc) · 1.23 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
# ── Required ──────────────────────────────────────────────────────────────────
# URL of your running OpenCode server
# • Local: http://localhost:4096
# • Coolify: http://<opencode-service-internal-name>:4096
OPENCODE_URL=http://localhost:4096
# ── Optional ──────────────────────────────────────────────────────────────────
# OpenCode provider ID to route requests through
# Common values: github-copilot | anthropic | openai | openrouter
OPENCODE_PROVIDER_ID=github-copilot
# Fallback model when the client doesn't specify one
DEFAULT_MODEL=gpt-4o
# Port the bridge listens on
PORT=5000
# Set a secret key to require Bearer token auth on all /v1/* endpoints.
# Leave empty to disable auth (fine for internal/private networks).
OPENCODE_SERVER_PASSWORD=
OPENCODE_SERVER_USERNAME=
OPENCODE_PROXY_API_KEY=
# Request timeout in milliseconds (default: 2 minutes)
# Increase if using slow models like o3
TIMEOUT_MS=120000
# Log verbosity: silent | info | debug
LOG_LEVEL=info