mirror of
https://github.com/valitydev/dominant.git
synced 2024-11-06 10:35:19 +00:00
a5ac86019a
* MSPF-434 Add Erlang 21 support * Update Erlang and deps * Reconfigure logger
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
[
|
|
{kernel, [
|
|
{logger_sasl_compatible, false},
|
|
{logger_level, info},
|
|
{logger, [
|
|
{handler, default, logger_std_h, #{
|
|
config => #{
|
|
type => file,
|
|
file => "/var/log/dominant/console.json"
|
|
},
|
|
formatter => {logger_logstash_formatter, #{}}
|
|
}}
|
|
]}
|
|
]},
|
|
|
|
{dmt_api, [
|
|
{repository, dmt_api_repository_v4},
|
|
{migration, #{
|
|
timeout => 360,
|
|
limit => 20
|
|
}},
|
|
{automaton_service_url, "http://machinegun:8022/v1/automaton"},
|
|
{ip, "::"},
|
|
{port, 8022},
|
|
{transport_opts, #{
|
|
request_timeout => 60000 % http keepalive timeout in ms
|
|
}},
|
|
{max_cache_size, 52428800}, % 50Mb
|
|
{health_checkers, [
|
|
{erl_health, disk , ["/", 99] },
|
|
{erl_health, cg_memory, [99] },
|
|
{erl_health, service , [<<"dominant">>]}
|
|
]}
|
|
]},
|
|
|
|
{os_mon, [
|
|
% for better compatibility with busybox coreutils
|
|
{disksup_posix_only, true}
|
|
]},
|
|
|
|
{scoper, [
|
|
{storage, scoper_storage_logger}
|
|
]}
|
|
].
|