netmaker.default.env 2.7 KB

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