netmaker.default.env 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # Email used for SSL certificates
  2. NM_EMAIL=
  3. # The base domain of netmaker
  4. NM_DOMAIN=
  5. # Public IP of machine
  6. SERVER_HOST=
  7. # The admin master key for accessing the API. Change this in any production installation.
  8. MASTER_KEY=
  9. # The username to set for turn api access
  10. TURN_USERNAME=
  11. # The password to set for turn api access
  12. TURN_PASSWORD=
  13. # The username to set for MQ access
  14. MQ_USERNAME=
  15. # The password to set for MQ access
  16. MQ_PASSWORD=
  17. INSTALL_TYPE=
  18. NETMAKER_TENANT_ID=
  19. LICENSE_KEY=
  20. SERVER_IMAGE_TAG=
  21. UI_IMAGE_TAG=
  22. NETCLIENT_ENDPOINT_DETECTION="disabled"
  23. # used for HA - identifies this server vs other servers
  24. NODE_ID="netmaker-server-1"
  25. METRICS_EXPORTER="off"
  26. PROMETHEUS="off"
  27. # Enables DNS Mode, meaning all nodes will set hosts file for private dns settings
  28. DNS_MODE="on"
  29. # Enable auto update of netclient ? ENUM:- enabled,disabled | default=enabled
  30. NETCLIENT_AUTO_UPDATE="enabled"
  31. # The HTTP API port for Netmaker. Used for API calls / communication from front end.
  32. # If changed, need to change port of BACKEND_URL for netmaker-ui.
  33. API_PORT="8081"
  34. EXPORTER_API_PORT="8085"
  35. # The "allowed origin" for API requests. Change to restrict where API requests can come from with comma-separated
  36. # URLs. ex:- https://dashboard.netmaker.domain1.com,https://dashboard.netmaker.domain2.com
  37. CORS_ALLOWED_ORIGIN="*"
  38. # Show keys permanently in UI (until deleted) as opposed to 1-time display.
  39. DISPLAY_KEYS="on"
  40. # Database to use - sqlite, postgres, or rqlite
  41. DATABASE="sqlite"
  42. # The address of the mq server. If running from docker compose it will be "mq". Otherwise, need to input address.
  43. # If using "host networking", it will find and detect the IP of the mq container.
  44. SERVER_BROKER_ENDPOINT="ws://mq:1883" # For EMQX websockets use `SERVER_BROKER_ENDPOINT=ws://mq:8083/mqtt`
  45. # The reachable port of STUN on the server
  46. STUN_PORT="3478"
  47. # Logging verbosity level - 1, 2, or 3
  48. VERBOSITY="1"
  49. # Port to access turn server
  50. TURN_PORT="3479"
  51. # Config for using turn, accepts either true/false
  52. USE_TURN="true"
  53. DEBUG_MODE="off"
  54. TURN_API_PORT="8089"
  55. # Enables the REST backend (API running on API_PORT at SERVER_HTTP_HOST).
  56. # Change to "off" to turn off.
  57. REST_BACKEND="on"
  58. # If turned "on", Server will not set Host based on remote IP check.
  59. # This is already overridden if SERVER_HOST is set. Turned "off" by default.
  60. DISABLE_REMOTE_IP_CHECK="off"
  61. # Whether or not to send telemetry data to help improve Netmaker. Switch to "off" to opt out of sending telemetry.
  62. TELEMETRY="on"
  63. ###
  64. #
  65. # OAuth section
  66. #
  67. ###
  68. # "<azure-ad|github|google|oidc>"
  69. AUTH_PROVIDER=
  70. # "<client id of your oauth provider>"
  71. CLIENT_ID=
  72. # "<client secret of your oauth provider>"
  73. CLIENT_SECRET=
  74. # "https://dashboard.<netmaker base domain>"
  75. FRONTEND_URL=
  76. # "<only for azure, you may optionally specify the tenant for the OAuth>"
  77. AZURE_TENANT=
  78. # https://oidc.yourprovider.com - URL of oidc provider
  79. OIDC_ISSUER=