-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Reference
🇬🇧 English · 🇫🇷 Français
Everything lives in a single default.toml under /config
(template: configs/default.toml).
Most settings are also editable from the Config tab in the UI: scalar
settings apply live; engine-level settings write the file and offer an
Apply & restart button.
| Section | What it does |
|---|---|
[daemon] |
API host/port, data_dir, auto-generated api_key. |
[race] |
Race engine (aggressive): ports, connection caps, choking. |
[hoard] |
Hoard engine (seeding): ports, upload slots, queue limits. |
[auth] |
username + bcrypt password_hash (login → returns api_key). |
[race_drain] |
Auto-purge of the race scratch disk by watermark. |
[vpn_speedtest] |
Periodic egress capacity check against a public iperf3 server. |
[[engine]] |
Extra engines for sharding (id + role + per-engine settings). |
-
api_key([daemon]) — theX-Api-Keyheader for the native/api/*API. If empty (or the oldchange-me-in-production), Hydra generates a random one on boot and writes it back. -
[auth]username/password_hash— the UI login. Emptypassword_hashon first boot → a random admin password is generated and printed once in the logs. Set your own withhydra hash-password <pw>.
The Config tab writes keys in place (comments preserved) and re-validates
the whole file against the schema before saving, so a bad value is rejected
(HTTP 400) instead of bricking the daemon. Array/table settings (e.g.
proxy_v2_trusted_sources, passkey maps) are shown read-only in the generic
editor — edit those in the file directly.
listen_port_proxy_v2, listen_addr_proxy_v2, proxy_v2_trusted_sources,
socks5_outbound_host / _port — all opt-in, off by default. See
Networking Modes.
Hydra · 🇬🇧
Understand
Install & set up
- Installation & First Run
- Bare-metal Install
- Windows install
- Networking Modes
- Gluetun (VPN)
- Deployment Topologies
Use day-to-day
Reference
Hydra · 🇫🇷
Comprendre
Installer & mettre en place
- Installation & premier démarrage
- Installation bare-metal
- Installation Windows
- Modes réseau
- Gluetun (VPN)
- Topologies de déploiement
Utiliser au quotidien
Référence