-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaton.env.example
More file actions
27 lines (25 loc) · 1.19 KB
/
Copy pathplaton.env.example
File metadata and controls
27 lines (25 loc) · 1.19 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
# platon.env — SCOPED secrets for the Platon backend container ONLY.
#
# Replaces the previous `env_file: /root/.hermes/.env`, which injected the whole
# ecosystem's ~146 secrets (every LLM key, Telegram token, etc.) into Platon — so
# a single Platon compromise leaked everything. Put ONLY what Platon needs here.
#
# Deploy:
# cp platon.env.example /root/.hermes/platon.env # then fill in the value(s)
# chmod 600 /root/.hermes/platon.env
# docker compose up -d
# Override the path with PLATON_ENV_FILE if you keep it elsewhere.
#
# Non-secret config (models, URLs, ports, webhook) is already set in
# docker-compose.yml under `environment:` — do NOT duplicate it here.
# --- LLM provider key — set exactly ONE (matches PLATON_ORACLE_PROVIDER=auto) ---
# DeepSeek is the default provider (PLATON_DEEPSEEK_BASE_URL is preconfigured).
DEEPSEEK_API_KEY=
# OPENAI_API_KEY=
# ANTHROPIC_API_KEY=
# Platon also accepts the PLATON_-prefixed forms (e.g. PLATON_DEEPSEEK_API_KEY).
# --- Optional ---
# Federation hub admin token (only if Platon registers with a private hub).
# PLATON_HUB_ADMIN_TOKEN=
# Deterministic signing seed (base64). If unset, the key under /data is used.
# ORACLE_SIGNING_SEED_B64=