dominant/config/sys.config
2018-04-12 17:27:59 +03:00

36 lines
879 B
Plaintext

[
{dmt_api, [
{automaton_service_url, "http://machinegun:8022/v1/automaton"},
{ip, "::"},
{port, 8022},
{net_opts, [
% Bump keepalive timeout up to a minute
{timeout, 60000}
]},
{max_cache_size, 52428800}, % 50Mb
{health_checkers, [
{erl_health, disk , ["/", 99] },
{erl_health, cg_memory, [99] },
{erl_health, service , [<<"dominant">>]}
]}
]},
{scoper, [
{storage, scoper_storage_lager}
]},
{lager, [
{error_logger_redirect, true},
{log_root, "/var/log/dominant"},
{handlers, [
{lager_file_backend, [
{file, "console.json"},
{level, debug},
{formatter, lager_logstash_formatter}
]}
]}
]}
].