Skip to content

Conversation

@shuuri-labs
Copy link
Contributor

Added detailed breakdown for all of (self-hoste) NetBird's config files and their values.

grafik

…yments

Adds comprehensive documentation for all NetBird self-hosted configuration
files including docker-compose.yml, management.json, relay.env, dashboard.env,
and turnserver.conf
| `EmbeddedIdP` | Yes | Enables and configures the built-in identity provider (based on DEX). Handles user authentication, token issuance, and OIDC endpoints. Required for `getting-started.sh` deployments. |
| `ReverseProxy` | No | Defines trusted proxy IP ranges for accurate client IP detection. Configure this when running behind a load balancer or reverse proxy to ensure correct IP logging and rate limiting. |
| `StoreConfig` | No | Specifies the database engine (SQLite, PostgreSQL, or MySQL). Defaults to SQLite. Use PostgreSQL for production deployments requiring high availability or concurrent access. |
| `TURNConfig` | No | Legacy configuration for external TURN servers like coturn. Not used in standard deployments since the relay service handles NAT traversal. Only needed for advanced scenarios. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove this

The relay secret must be identical in both `management.json` and the relay service environment. A mismatch will cause relay connections to fail.
</Warning>

### Signal Section
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't mention 10000 port anymore, here and in other places of this guide.
Also no need for all that legacy signal mentions.

## See Also

- [Self-hosting Quickstart Guide](/selfhosted/selfhosted-quickstart) - Get started quickly with default settings
- [Advanced Self-hosting Guide](/selfhosted/selfhosted-guide) - Custom IdP integration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [Advanced Self-hosting Guide](/selfhosted/selfhosted-guide) - Custom IdP integration


- [Self-hosting Quickstart Guide](/selfhosted/selfhosted-quickstart) - Get started quickly with default settings
- [Advanced Self-hosting Guide](/selfhosted/selfhosted-guide) - Custom IdP integration
- [Environment Variables](/selfhosted/environment-variables) - Runtime environment configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [Environment Variables](/selfhosted/environment-variables) - Runtime environment configuration

@braginini braginini self-requested a review January 22, 2026 15:38
@braginini braginini merged commit 4b5f9b5 into main Jan 22, 2026
1 check passed
@braginini braginini deleted the config-file-breakdown branch January 22, 2026 15:38
shuuri-labs added a commit that referenced this pull request Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants