2016-08-24 11:27:31 +00:00
|
|
|
[
|
2017-11-17 15:52:52 +00:00
|
|
|
|
2016-09-07 19:43:14 +00:00
|
|
|
{dmt_api, [
|
2018-07-06 13:33:49 +00:00
|
|
|
{repository, dmt_api_repository_v4},
|
|
|
|
{migration, #{
|
|
|
|
timeout => 360,
|
|
|
|
limit => 20
|
|
|
|
}},
|
2016-11-23 11:52:43 +00:00
|
|
|
{automaton_service_url, "http://machinegun:8022/v1/automaton"},
|
|
|
|
{ip, "::"},
|
2017-04-03 12:48:41 +00:00
|
|
|
{port, 8022},
|
2017-07-17 13:11:30 +00:00
|
|
|
{net_opts, [
|
2017-04-03 12:48:41 +00:00
|
|
|
% Bump keepalive timeout up to a minute
|
2017-07-17 13:11:30 +00:00
|
|
|
{timeout, 60000}
|
|
|
|
]},
|
2018-04-12 14:27:59 +00:00
|
|
|
{max_cache_size, 52428800}, % 50Mb
|
|
|
|
{health_checkers, [
|
|
|
|
{erl_health, disk , ["/", 99] },
|
|
|
|
{erl_health, cg_memory, [99] },
|
|
|
|
{erl_health, service , [<<"dominant">>]}
|
|
|
|
]}
|
2016-10-10 16:27:02 +00:00
|
|
|
]},
|
2017-11-17 15:52:52 +00:00
|
|
|
|
|
|
|
{scoper, [
|
|
|
|
{storage, scoper_storage_lager}
|
|
|
|
]},
|
|
|
|
|
2016-10-10 16:27:02 +00:00
|
|
|
{lager, [
|
|
|
|
{error_logger_redirect, true},
|
|
|
|
{log_root, "/var/log/dominant"},
|
|
|
|
{handlers, [
|
|
|
|
{lager_file_backend, [
|
|
|
|
{file, "console.json"},
|
|
|
|
{level, debug},
|
|
|
|
{formatter, lager_logstash_formatter}
|
|
|
|
]}
|
|
|
|
]}
|
2016-08-24 11:27:31 +00:00
|
|
|
]}
|
2017-11-17 15:52:52 +00:00
|
|
|
|
2016-08-24 11:27:31 +00:00
|
|
|
].
|