Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
67 lines (55 loc) · 2.97 KB
/
Copy path.env.example
File metadata and controls
67 lines (55 loc) · 2.97 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
# Public URL is the console origin and may be any valid HTTPS domain or an internal HTTP address.
SUBPOOL_PUBLIC_URL=https://admin.subpool.example.com
SUBPOOL_PORT=8080
SUBPOOL_CONSOLE_PORT=8081
# Optional weekday 09:00 Asia/Shanghai reset announcements through a Slack MCP tool.
# Keep the authorization secret private. Weekly resets and planned credits are combined.
SUBPOOL_RESET_NOTICE_ENABLED=false
SUBPOOL_RESET_NOTICE_MCP_URL=
SUBPOOL_RESET_NOTICE_MCP_AUTHORIZATION=
SUBPOOL_RESET_NOTICE_MCP_TOOL=slack__slack_send_message
SUBPOOL_RESET_NOTICE_CHANNEL=
# When running the binary directly, these addresses control its two listeners.
SUBPOOL_API_LISTEN_ADDRESS=:8080
SUBPOOL_CONSOLE_LISTEN_ADDRESS=:8081
# Administrator credentials are read at startup and are never stored in PostgreSQL.
SUBPOOL_ADMIN_USERNAME=admin
SUBPOOL_ADMIN_PASSWORD=replace-with-a-long-random-password
# Optional, comma-separated CIDRs for reverse proxies allowed to supply X-Forwarded-For.
# Leave empty when Subpool is accessed directly.
SUBPOOL_TRUSTED_PROXY_CIDRS=
# Responses WebSocket ingress is enabled by default. Force the HTTP bridge only as a rollback switch.
SUBPOOL_RESPONSES_WS_ENABLED=true
SUBPOOL_RESPONSES_WS_FORCE_HTTP_BRIDGE=false
# Maximum wait for an upstream provider to begin its response.
SUBPOOL_UPSTREAM_RESPONSE_HEADER_TIMEOUT=3m
# Maximum HTTP/WebSocket request size, estimated buffer budget, and read time.
SUBPOOL_MAX_REQUEST_BODY_BYTES=268435456
SUBPOOL_MAX_INFLIGHT_REQUEST_BODY_BYTES=1073741824
SUBPOOL_REQUEST_BODY_READ_TIMEOUT=5m
# Optional GitHub Copilot upstream overrides. Defaults match the public Copilot client flow.
SUBPOOL_COPILOT_CLIENT_ID=Iv1.b507a08c87ecfe98
SUBPOOL_COPILOT_API_BASE=https://api.githubcopilot.com
SUBPOOL_COPILOT_TOKEN_EXCHANGE_URL=https://api.github.com/copilot_internal/v2/token
SUBPOOL_COPILOT_ENTITLEMENTS_URL=https://api.github.com/copilot_internal/user
# Google Antigravity OAuth. Supply a matching authorized client pair at deployment time.
# Both values default to empty; other providers remain available when both are unset.
SUBPOOL_ANTIGRAVITY_CLIENT_ID=
SUBPOOL_ANTIGRAVITY_CLIENT_SECRET=
# Optional Google Antigravity upstream overrides.
SUBPOOL_ANTIGRAVITY_BASE_URL=https://cloudcode-pa.googleapis.com
SUBPOOL_ANTIGRAVITY_USER_AGENT="antigravity/hub/2.23.0 windows/amd64"
# Generate independent secrets with: openssl rand -base64 32
SUBPOOL_CREDENTIAL_KEY=replace-with-a-32-byte-base64-key
SUBPOOL_API_KEY_HMAC_KEY=replace-with-an-independent-random-key
POSTGRES_USER=subpool
# Keep this URL-safe because it is interpolated into SUBPOOL_DATABASE_URL.
POSTGRES_PASSWORD=replace-with-a-url-safe-random-password
POSTGRES_DB=subpool
# Opt-in Codex quota preference at independent request boundaries.
SUBPOOL_CODEX_QUOTA_ROUTING=false
# Optional aggregate employee model usage from Gesta (configure both).
SUBPOOL_GESTA_USAGE_REPORT_URL=
SUBPOOL_GESTA_USAGE_REPORT_TOKEN=
# Optional report-only display names and excluded model-usage identities (JSON).
SUBPOOL_REPORT_PEOPLE=