-
Notifications
You must be signed in to change notification settings - Fork 0
/
emqx_dashboard_schema.hocon
151 lines (106 loc) · 3.5 KB
/
emqx_dashboard_schema.hocon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
emqx_dashboard_schema {
backlog.desc:
"""Defines the maximum length that the queue of pending connections can grow to."""
backlog.label:
"""Backlog"""
bind.desc:
"""Port without IP(18083) or port with specified IP(127.0.0.1:18083).
Disabled when setting bind to `0`."""
bind.label:
"""Bind"""
bootstrap_users_file.desc:
"""Deprecated, use api_key.bootstrap_file."""
bootstrap_users_file.label:
"""Deprecated"""
cors.desc:
"""Support Cross-Origin Resource Sharing (CORS).
Allows a server to indicate any origins (domain, scheme, or port) other than
its own from which a browser should permit loading resources."""
cors.label:
"""CORS"""
default_password.desc:
"""The initial default password for dashboard 'admin' user.
For safety, it should be changed as soon as possible.
This value is not valid when you log in to Dashboard for the first time via the web
and change to a complex password as prompted."""
default_password.label:
"""Default password"""
default_username.desc:
"""The default username of the automatically created dashboard user."""
default_username.label:
"""Default username"""
desc_dashboard.desc:
"""Configuration for EMQX dashboard."""
desc_dashboard.label:
"""Dashboard"""
desc_http.desc:
"""Configuration for the dashboard listener (plaintext)."""
desc_http.label:
"""HTTP"""
desc_https.desc:
"""Configuration for the dashboard listener (TLS)."""
desc_https.label:
"""HTTPS"""
desc_listeners.desc:
"""Configuration for the dashboard listener."""
desc_listeners.label:
"""Listeners"""
i18n_lang.desc:
"""Internationalization language support."""
i18n_lang.label:
"""I18n language"""
inet6.desc:
"""Enable IPv6 support, default is false, which means IPv4 only."""
inet6.label:
"""IPv6"""
ipv6_v6only.desc:
"""Disable IPv4-to-IPv6 mapping for the listener.
The configuration is only valid when the inet6 is true."""
ipv6_v6only.label:
"""IPv6 only"""
listener_enable.desc:
"""Ignore or enable this listener"""
listener_enable.label:
"""Enable"""
listeners.desc:
"""HTTP(s) listeners are identified by their protocol type and are
used to serve dashboard UI and restful HTTP API.
Listeners must have a unique combination of port number and IP address.
For example, an HTTP listener can listen on all configured IP addresses
on a given port for a machine by specifying the IP address 0.0.0.0.
Alternatively, the HTTP listener can specify a unique IP address for each listener,
but use the same port."""
listeners.label:
"""Listeners"""
max_connections.desc:
"""Maximum number of simultaneous connections."""
max_connections.label:
"""Maximum connections"""
num_acceptors.desc:
"""Socket acceptor pool size for TCP protocols. Default is the number of schedulers online"""
num_acceptors.label:
"""Number of acceptors"""
proxy_header.desc:
"""Enable support for `HAProxy` header. Be aware once enabled regular HTTP requests can't be handled anymore."""
proxy_header.label:
"""Enable support for HAProxy header"""
sample_interval.desc:
"""How often to update metrics displayed in the dashboard.
Note: `sample_interval` should be a divisor of 60, default is 10s."""
send_timeout.desc:
"""Send timeout for the socket."""
send_timeout.label:
"""Send timeout"""
token_expired_time.desc:
"""JWT token expiration time. Default is 60 minutes"""
token_expired_time.label:
"""Token expired time"""
ssl_options.desc:
"""SSL/TLS options for the dashboard listener."""
ssl_options.label:
"""SSL options"""
swagger_support.desc:
"""Enable or disable support for swagger API documentation."""
swagger_support.label:
"""Swagger Support"""
}