Self-hosting configuration reference
The full set of environment variables for configuring a self-hosted NervesHub: endpoints, database, storage, TLS, email, auth, and tuning.
Written By Josh Kalderimis
Last updated 4 months ago
NervesHub is configured through environment variables at runtime. This is the reference for those variables. For a walkthrough of getting an instance running, see Self-hosting NervesHub.
This list is drawn from
config/runtime.exs. The exact set changes between releases, so cross-check against the version you deploy.
Secrets
Web endpoint
Device endpoint
Device endpoint TLS (mTLS)
Database (PostgreSQL)
Firmware & archive storage
Device logs & analytics (ClickHouse, optional)
Authentication
Observability
Branding
Health, geo & connection tuning
Deployment & orchestrator tuning
Related
Was this helpful?
More in Reference
Device socket & channel APIStill need help? Ask the team