ConfigurationModules and profiles
Modules and profiles
Turn features on and off with the modules list, and choose a capacity profile that matches your deployment size.
Modules
A module is a unit of functionality with its own routes, migrations, workers and admin navigation. An inactive module adds none of those. Enable what you need in modules, then run hydro migrate.
| Module | Provides |
|---|---|
core | HTTP server, config, health endpoints. Always on. |
auth | Admin users, sessions, roles, MFA, API keys and tokens. |
members | Visitor accounts and the member token API. |
pages | Pages with blocks, revisions and preview links. |
media | Media library and delivery. |
site | Site settings, navigation, redirects, forms, sitemap and maintenance mode. |
news | News articles, categories, tags and scheduled publishing. |
collections | The engine behind YAML content types. |
commerce | Cart, checkout, orders, inventory reservations, and payment reconciliation. |
seo | Open Graph image rendering cache and custom font configuration. |
analytics | Opt-in, privacy-friendly traffic summaries. |
Capacity profiles
A profile sets sensible defaults for how much machinery runs inside the process. Providers such as the database, S3 and Redis are chosen separately; the profile does not infer them.
| Profile | Use for | Adds |
|---|---|---|
compact | Single small site, local development, shared hosting | In-memory caches, minimal background work. |
standard | A production site on a VPS or container | Bounded background workers, optional distributed cache. |
distributed | Several instances behind a load balancer | Everything in standard, plus tenant admission and OpenTelemetry export (opt-in). |
BASH
hydro serve --config config.yaml --capacity-profile standard
# or
HYDRO_CAPACITY_PROFILE=standard hydro serve --config config.yamlRunning more than one instance? Use PostgreSQL or MySQL and set
redis.url, so rate limits and caches are shared.