emqx_dashboard_schema.hocon 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. emqx_dashboard_schema {
  2. backlog.desc:
  3. """Defines the maximum length that the queue of pending connections can grow to."""
  4. backlog.label:
  5. """Backlog"""
  6. bind.desc:
  7. """Bind the listener to a specified address and port number, for example `127.0.0.1:18083`.
  8. If configured with just the port number (e.g. `18083`) it's equivalent to binding to all addresses `0.0.0.0`.
  9. The listener is disabled if `bind` is `0`."""
  10. bind.label:
  11. """Bind"""
  12. bootstrap_users_file.desc:
  13. """Deprecated, use api_key.bootstrap_file."""
  14. bootstrap_users_file.label:
  15. """Deprecated"""
  16. cors.desc:
  17. """Support Cross-Origin Resource Sharing (CORS).
  18. Allows a server to indicate any origins (domain, scheme, or port) other than
  19. its own from which a browser should permit loading resources."""
  20. cors.label:
  21. """CORS"""
  22. default_password.desc:
  23. """The password used to initialize a database record for `admin` user.
  24. NOTE: Changing the default password after it has been initialized (boot up for the fist time) has no effect.
  25. Once initialized, the default password `public` must be changed from dashboard or CLI as soon as possible."""
  26. default_password.label:
  27. """Default password"""
  28. default_username.desc:
  29. """The default username of the automatically created dashboard user."""
  30. default_username.label:
  31. """Default username"""
  32. desc_dashboard.desc:
  33. """Configuration for EMQX dashboard."""
  34. desc_dashboard.label:
  35. """Dashboard"""
  36. desc_http.desc:
  37. """Configuration for the dashboard listener (plaintext)."""
  38. desc_http.label:
  39. """HTTP"""
  40. desc_https.desc:
  41. """Configuration for the dashboard listener (TLS)."""
  42. desc_https.label:
  43. """HTTPS"""
  44. desc_listeners.desc:
  45. """Configuration for the dashboard listener."""
  46. desc_listeners.label:
  47. """Listeners"""
  48. i18n_lang.desc:
  49. """Internationalization language support."""
  50. i18n_lang.label:
  51. """I18n language"""
  52. inet6.desc:
  53. """Enable IPv6 support, default is false, which means IPv4 only."""
  54. inet6.label:
  55. """IPv6"""
  56. ipv6_v6only.desc:
  57. """Disable IPv4-to-IPv6 mapping for the listener.
  58. The configuration is only valid when the inet6 is true."""
  59. ipv6_v6only.label:
  60. """IPv6 only"""
  61. listener_enable.desc:
  62. """Ignore or enable this listener"""
  63. listener_enable.label:
  64. """Enable"""
  65. listeners.desc:
  66. """HTTP(s) listeners are identified by their protocol type and are
  67. used to serve dashboard UI and restful HTTP API.
  68. Listeners must have a unique combination of port number and IP address.
  69. For example, an HTTP listener can listen on all configured IP addresses
  70. on a given port for a machine by specifying the IP address 0.0.0.0.
  71. Alternatively, the HTTP listener can specify a unique IP address for each listener,
  72. but use the same port."""
  73. listeners.label:
  74. """Listeners"""
  75. max_connections.desc:
  76. """Maximum number of simultaneous connections."""
  77. max_connections.label:
  78. """Maximum connections"""
  79. num_acceptors.desc:
  80. """Socket acceptor pool size for TCP protocols. Default is the number of schedulers online"""
  81. num_acceptors.label:
  82. """Number of acceptors"""
  83. proxy_header.desc:
  84. """Enable support for `HAProxy` header. Be aware once enabled regular HTTP requests can't be handled anymore."""
  85. proxy_header.label:
  86. """Enable support for HAProxy header"""
  87. sample_interval.desc:
  88. """How often to update metrics displayed in the dashboard.
  89. Note: `sample_interval` should be a divisor of 60, default is 10s."""
  90. send_timeout.desc:
  91. """Send timeout for the socket."""
  92. send_timeout.label:
  93. """Send timeout"""
  94. token_expired_time.desc:
  95. """JWT token expiration time. Default is 60 minutes"""
  96. token_expired_time.label:
  97. """Token expired time"""
  98. ssl_options.desc:
  99. """SSL/TLS options for the dashboard listener."""
  100. ssl_options.label:
  101. """SSL options"""
  102. swagger_support.desc:
  103. """Enable or disable support for swagger API documentation."""
  104. swagger_support.label:
  105. """Swagger Support"""
  106. }