Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 2.44 KB
/
Copy path.env.example
File metadata and controls
49 lines (41 loc) · 2.44 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
# OpenWhale environment — loaded by the GATEWAY (real env > packages/gateway/.env > this repo-root .env).
# The dashboard is a pure frontend and holds NO secrets; it only optionally reads:
# OPENWHALE_GATEWAY_URL where to reach the gateway (default http://localhost:3001)
# REQUIRED — encrypts stored credentials (venue private keys) at rest. Use a strong secret.
OPENWHALE_MASTER_KEY=
# REQUIRED on first boot — creates the first dashboard account, then the gateway
# refuses to start until one exists. Remove both once you have signed in.
OPENWHALE_ADMIN_USER=
OPENWHALE_ADMIN_PASSWORD=
# Optional — browser origins allowed to call the gateway directly (comma-separated).
# The dashboard proxies /api/* same-origin and needs none of this; set it when a
# custom frontend or a browser EventSource talks to :3001 across origins.
#OPENWHALE_ALLOWED_ORIGIN=http://localhost:3000
# Optional — send venue traffic (REST + WebSocket) through an outbound proxy.
# For networks where the exchanges are unreachable directly. ccxt ignores the
# standard HTTPS_PROXY, and Node's NODE_USE_ENV_PROXY does not reach it either
# (ccxt calls its own bundled fetch), so it needs saying here.
# Not named HTTPS_PROXY on purpose: many machines carry that for unrelated
# reasons, and order traffic should never change route by accident.
#OPENWHALE_HTTPS_PROXY=http://127.0.0.1:7897
#
# Per venue, overriding the global one. The suffix is the ccxt exchange id,
# upper-cased — Binance perp is BINANCEUSDM and Binance spot is BINANCE.
# Use `off` to keep one venue direct: settlements are raced by the millisecond,
# and a venue you CAN reach directly should not pay proxy hops.
#OPENWHALE_HTTPS_PROXY_BINANCEUSDM=off
#OPENWHALE_HTTPS_PROXY_OKX=socks5://127.0.0.1:1080
# Optional — GitHub token for installing plugins from private repositories.
# Only read while an install is running, and passed to git as an ephemeral
# config rather than baked into the clone URL, so it never reaches plugins.json
# or the lockfile. GITHUB_TOKEN / GH_TOKEN are accepted as fallbacks.
# Without it a private repo fails as "not found" — that is GitHub's answer to
# anyone unauthorised, not a typo in the repo name.
#OPENWHALE_GITHUB_TOKEN=
# Optional — SQLite path (default ~/.openwhale/openwhale.db)
#OPENWHALE_DB_PATH=
# Optional — gateway listen port (default 3001)
#OPENWHALE_GATEWAY_PORT=3001
# Optional — LLM provider keys, imported as typed credentials on boot
#ANTHROPIC_API_KEY=
#OPENAI_API_KEY=