mirror of
https://github.com/valitydev/dominant.git
synced 2024-11-06 10:35:19 +00:00
36 lines
879 B
Plaintext
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}
|
|
]}
|
|
]}
|
|
]}
|
|
|
|
].
|