| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 | # Email used for SSL certificatesNM_EMAIL=# The base domain of netmakerNM_DOMAIN=# Public IPv4 endpoint of machineSERVER_HOST=# Public IPv6 endpoint of machineSERVER_HOST6=# The admin master key for accessing the API. Change this in any production installation.MASTER_KEY=# The username to set for MQ accessMQ_USERNAME=# The password to set for MQ accessMQ_PASSWORD=INSTALL_TYPE=NETMAKER_TENANT_ID=LICENSE_KEY=SERVER_IMAGE_TAG=UI_IMAGE_TAG=# used for HA - identifies this server vs other serversNODE_ID=netmaker-server-1METRICS_EXPORTER=offPROMETHEUS=off# Enables DNS Mode, meaning all nodes will set hosts file for private dns settingsDNS_MODE=on# Enable auto update of netclient ? ENUM:- enabled,disabled | default=enabledNETCLIENT_AUTO_UPDATE=enabled# The HTTP API port for Netmaker. Used for API calls / communication from front end.# If changed, need to change port of BACKEND_URL for netmaker-ui.API_PORT=8081EXPORTER_API_PORT=8085# The "allowed origin" for API requests. Change to restrict where API requests can come from with comma-separated# URLs. ex:- https://dashboard.netmaker.domain1.com,https://dashboard.netmaker.domain2.comCORS_ALLOWED_ORIGIN=*# Show keys permanently in UI (until deleted) as opposed to 1-time display.DISPLAY_KEYS=on# Database to use - sqlite, postgres, or rqliteDATABASE=sqlite# The address of the mq server. If running from docker compose it will be "mq". Otherwise, need to input address.# If using "host networking", it will find and detect the IP of the mq container.# For EMQX websockets use `SERVER_BROKER_ENDPOINT=ws://mq:8083/mqtt`SERVER_BROKER_ENDPOINT=ws://mq:1883 # Logging verbosity level - 1, 2, or 3VERBOSITY=1DEBUG_MODE=off# Enables the REST backend (API running on API_PORT at SERVER_HTTP_HOST).REST_BACKEND=on# If turned "on", Server will not set Host based on remote IP check.# This is already overridden if SERVER_HOST is set. Turned "off" by default.DISABLE_REMOTE_IP_CHECK=off# Whether or not to send telemetry data to help improve Netmaker. Switch to "off" to opt out of sending telemetry.TELEMETRY=on##### OAuth section##### only mentioned domains will be allowded to signup using oauth, by default all domains are allowedALLOWED_EMAIL_DOMAINS=*# "<azure-ad|github|google|oidc>"AUTH_PROVIDER=# "<client id of your oauth provider>"CLIENT_ID=# "<client secret of your oauth provider>"CLIENT_SECRET=# "https://dashboard.<netmaker base domain>"FRONTEND_URL=# "<only for azure, you may optionally specify the tenant for the OAuth>"AZURE_TENANT=# https://oidc.yourprovider.com - URL of oidc providerOIDC_ISSUER=# Duration of JWT token validity in secondsJWT_VALIDITY_DURATION=43200# Auto disable a user's connecteds clients bassed on JWT token expirationRAC_AUTO_DISABLE=false# if turned on data will be cached on to improve performance significantly (IMPORTANT: If HA set to `false` )CACHING_ENABLED=true# if turned on netclient checks if peers are reachable over private/LAN address, and choose that as peer endpointENDPOINT_DETECTION=true# config for sending emails# mail server hostSMTP_HOST=smtp.gmail.com# mail server portSMTP_PORT=587# sender emailEMAIL_SENDER_ADDR=# sender smtp user, if unset sender email will be usedEMAIL_SENDER_USER=# sender smtp passwordEMAIL_SENDER_PASSWORD=# default domain for internal DNS lookupDEFAULT_DOMAIN=hosted.nm# managed dns setting, set to true to resolve dns entries on netmaker networkMANAGE_DNS=true# set to true, old acl is supported, otherwise, old acl is disabledOLD_ACL_SUPPORT=true# if STUN is set to true, hole punch is calledSTUN=true# Metrics Collection PortMETRICS_PORT=51821# Metrics Collection interval in minutesPUBLISH_METRIC_INTERVAL=15
 |