mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
Remove duplicate authorization data from Zitadel IdP. NetBird now stores all authorization data (account membership, invite status, roles) locally, while Zitadel only stores identity information (email, name, credentials). Changes: - Add PendingInvite field to User struct to track invite status locally - Simplify IdP Manager interface: remove metadata methods, add GetAllUsers - Update cache warming to match IdP users against NetBird DB - Remove addAccountIDToIDPAppMeta and all wt_* metadata writes - Delete legacy IdP managers (Auth0, Azure, Keycloak, Okta, Google Workspace, JumpCloud, Authentik, PocketId) - only Zitadel supported
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
# NetBird Self-Hosted Setup Configuration
|
|
# Copy this file to setup.env and configure the required values
|
|
|
|
# -------------------------------------------
|
|
# Required: Domain Configuration
|
|
# -------------------------------------------
|
|
# Your NetBird domain (e.g., netbird.mydomain.com)
|
|
NETBIRD_DOMAIN=""
|
|
|
|
# -------------------------------------------
|
|
# Optional: Image Tags
|
|
# -------------------------------------------
|
|
# Leave empty to use 'latest' for all components
|
|
NETBIRD_DASHBOARD_TAG=""
|
|
NETBIRD_SIGNAL_TAG=""
|
|
NETBIRD_MANAGEMENT_TAG=""
|
|
COTURN_TAG=""
|
|
NETBIRD_RELAY_TAG=""
|
|
|
|
# Zitadel version (default: v2.64.1)
|
|
ZITADEL_TAG=""
|
|
|
|
# -------------------------------------------
|
|
# Optional: TURN Server Configuration
|
|
# -------------------------------------------
|
|
# TURN server domain (defaults to NETBIRD_DOMAIN)
|
|
NETBIRD_TURN_DOMAIN=""
|
|
|
|
# TURN server public IP address
|
|
# Required for peers behind NAT to connect
|
|
NETBIRD_TURN_EXTERNAL_IP=""
|
|
|
|
# -------------------------------------------
|
|
# Optional: Database Configuration
|
|
# -------------------------------------------
|
|
# Store engine: sqlite (default), postgres, or mysql
|
|
NETBIRD_STORE_CONFIG_ENGINE=""
|
|
|
|
# For PostgreSQL:
|
|
# NETBIRD_STORE_ENGINE_POSTGRES_DSN="host=<HOST> user=<USER> password=<PASS> dbname=<DB> port=5432"
|
|
|
|
# For MySQL:
|
|
# NETBIRD_STORE_ENGINE_MYSQL_DSN="<user>:<pass>@tcp(127.0.0.1:3306)/<db>"
|
|
|
|
# -------------------------------------------
|
|
# Optional: Extra Settings
|
|
# -------------------------------------------
|
|
# Disable anonymous metrics (default: false)
|
|
NETBIRD_DISABLE_ANONYMOUS_METRICS=false
|
|
|
|
# DNS domain for peer resolution (default: netbird.selfhosted)
|
|
NETBIRD_MGMT_DNS_DOMAIN=netbird.selfhosted
|
|
|
|
# Disable default all-to-all policy for new accounts (default: false)
|
|
NETBIRD_MGMT_DISABLE_DEFAULT_POLICY=false
|
|
|
|
# -------------------------------------------
|
|
# Advanced: Zitadel Client IDs
|
|
# -------------------------------------------
|
|
# These are auto-generated by Zitadel on first boot
|
|
# Only set these if migrating from an existing Zitadel setup
|
|
# NETBIRD_AUTH_CLIENT_ID=""
|
|
# NETBIRD_AUTH_CLIENT_ID_CLI=""
|
|
# NETBIRD_IDP_MGMT_CLIENT_ID=""
|
|
# NETBIRD_IDP_MGMT_CLIENT_SECRET=""
|