-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathriak_core_multinode.app.config
36 lines (30 loc) · 1.28 KB
/
riak_core_multinode.app.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
[
%% Riak Core config
{riak_core, [
%% Default location of ringstate
{ring_state_dir, "{{ring_state_dir}}"},
%% http is a list of IP addresses and TCP ports that the Riak
%% HTTP interface will bind.
{http, [ {"{{web_ip}}", {{web_port}} } ]},
%% https is a list of IP addresses and TCP ports that the Riak
%% HTTPS interface will bind.
%{https, [{ "{{web_ip}}", {{web_port}} }]},
%% default cert and key locations for https can be overridden
%% with the ssl config variable
%{ssl, [
% {certfile, "etc/cert.pem"},
% {keyfile, "etc/key.pem"}
% ]},
%% riak_handoff_port is the TCP port that Riak uses for
%% intra-cluster data handoff.
{handoff_port, {{handoff_port}} }
]},
%% SASL config
{sasl, [
{sasl_error_logger, {file, "log/sasl-error.log"}},
{errlog_type, error},
{error_logger_mf_dir, "log/sasl"}, % Log directory
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]}
].