-
Notifications
You must be signed in to change notification settings - Fork 443
Expand file tree
/
Copy pathmim2.vars-toml.config
More file actions
75 lines (64 loc) · 1.98 KB
/
Copy pathmim2.vars-toml.config
File metadata and controls
75 lines (64 loc) · 1.98 KB
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
%% vm.args
{node_name, "mongooseim2@localhost"}.
%% mongooseim.toml
{c2s_port, 5232}.
{c2s_tls_port, 5233}.
{outgoing_s2s_port, 5269}.
{incoming_s2s_port, 5279}.
{http_port, 5281}.
{https_port, 5286}.
{http_api_endpoint_port, 8090}.
{http_api_client_endpoint_port, 8091}.
{service_port, 8899}.
{http_graphql_api_admin_endpoint_port, 5552}.
{http_graphql_api_domain_admin_endpoint_port, 5542}.
{http_graphql_api_user_endpoint_port, 5562}.
{traffic_channel_port, 5112}.
{hosts, "\"localhost\", \"anonymous.localhost\", \"localhost.bis\""}.
{host_types, "\"test type\", \"dummy auth\""}.
{default_server_domain, "\"localhost\""}.
{cluster_name, "mim"}.
{s2s_addr, "[[s2s.address]]
host = \"localhost2\"
ip_address = \"127.0.0.1\""}.
{tls_config, "tls.verify_mode = \"none\"
tls.certfile = \"priv/ssl/fake_server.pem\"
tls.mode = \"starttls\"
tls.ciphers = \"ECDHE-RSA-AES256-GCM-SHA384\""}.
{secondary_c2s,
"[[listen.c2s]]
port = {{ c2s_tls_port }}
access = \"c2s\"
shaper = \"c2s_shaper\"
max_stanza_size = 65536
tls.cacertfile = \"priv/ssl/cacert.pem\"
tls.certfile = \"priv/ssl/fake_server.pem\"
tls.mode = \"tls\"
tls.ciphers = \"ECDHE-RSA-AES256-GCM-SHA384\""}.
{listen_service,
"[[listen.service]]
port = {{ service_port }}
access = \"all\"
shaper_rule = \"fast\"
ip_address = \"127.0.0.1\"
password = \"secret\""}.
{all_metrics_are_global, "true"}.
{http_server_name, "\"Classified\""}.
{c2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.
{s2s_dhfile, "\"priv/ssl/fake_dh_server.pem\""}.
{host_config,
"[[host_config]]
host = \"anonymous.localhost\"
[host_config.auth.anonymous]
allow_multiple_connections = true
protocol = \"both\"
{{#auth_anonymous_backend}}
backend = \"{{{auth_anonymous_backend}}}\"
{{/auth_anonymous_backend}}
[[host_config]]
host_type = \"dummy auth\"
[host_config.modules.mod_presence]
[host_config.auth.dummy]"}.
{erlang_doctor_limit, 100000}.
%% Include common vars shared by all profiles
"./vars-toml.config".