forked from vernemq/vernemq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.config
97 lines (57 loc) · 1.7 KB
/
vars.config
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
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
%% Platform-specific installation paths
{platform_base_dir, "${VERNEMQ_PATH:-$RELEASE_ROOT_DIR}"}.
{platform_bin_dir, "./bin"}.
{platform_data_dir, "./data"}.
{platform_etc_dir, "./etc"}.
{platform_lib_dir, "./lib"}.
{platform_log_dir, "./log"}.
{platform_gen_dir, "."}.
{cuttlefish_schema_dir, "./share/schema"}.
{platform_share_dir, "./share"}.
%%
%% etc/vm.args
%%
{node, "[email protected]"}.
{crash_dump, "./log/erl_crash.dump"}.
%%
%% bin/vernemq
%%
{runner_script_dir, "$(cd `dirname $0` ; /bin/pwd)"}.
{runner_base_dir, "$(cd `dirname $0` ; /bin/pwd)/.."}.
{runner_etc_dir, "$RUNNER_BASE_DIR/etc"}.
{runner_log_dir, "$RUNNER_BASE_DIR/log"}.
{runner_lib_dir, "$RUNNER_BASE_DIR/lib"}.
{runner_patch_dir, "$RUNNER_BASE_DIR/lib/erlio-patches"}.
{pipe_dir, "/tmp/$RUNNER_BASE_DIR/"}.
{runner_user, ""}.
{runner_wait_process, "vmq_cluster_node_sup"}.
{runner_ulimit_warn, 65536}.
%% vmq_server
{nodename, "[email protected]"}.
{max_connections, 10000}.
{max_nr_of_acceptors, 10}.
{tls_handshake_timeout, 5000}.
{mqtt_default_ip, "127.0.0.1"}.
{mqtts_default_ip, "127.0.0.1"}.
{mqtt_default_port, 1883}.
{mqtts_default_port, 8883}.
{mqtt_default_ws_ip, "127.0.0.1"}.
{mqtt_default_ws_port, 8080}.
{cluster_default_ip, "0.0.0.0"}.
{cluster_ssl_default_ip, "0.0.0.0"}.
{cluster_ssl_default_port, 44054}.
{cluster_default_port, 44053}.
{http_default_ip, "127.0.0.1"}.
{http_default_port, 8888}.
{https_default_ip, "127.0.0.1"}.
{https_default_port, "8889"}.
{metadata_plugin, vmq_swc}.
%% lager
{console_log_default, file}.
%%
%% cuttlefish
%%
{cuttlefish, "on"}.
{cuttlefish_conf, "vernemq.conf"}.