mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 02:45:20 +00:00
bcd776a418
* HG-153: Implement setting transport options up for proxies * HG-153: Reduce inpector selector during payment init * HG-151: Implement cost range condition * HG-151: Reimplement inspector tests using selector * HG-138: Shitcode up a party-related selectors implementation * HG-153: Use proxy transport options from the app env * HG-138: Implement const predicate reduction * HG-138: Bump to rbkmoney/damsel@61701d2 * HG-138: Bump up dominant and build image * HG-138: Make compose more insistent on health checking * HG-152: Bump to rbkmoney/image-service-erlang@13454a9 * HG-138: Bump up dominant again * HG-153: Make cash range check fail upon misconfiguration
31 lines
816 B
Plaintext
31 lines
816 B
Plaintext
[
|
|
{lager, [
|
|
{error_logger_hwm, 600},
|
|
{log_root, "/var/log/hellgate"},
|
|
{crash_log, "crash.log"},
|
|
{handlers, [
|
|
{lager_file_backend, [
|
|
{file, "console.json"},
|
|
{level, debug},
|
|
{formatter, lager_logstash_formatter}
|
|
]}
|
|
]}
|
|
]},
|
|
|
|
{hellgate, [
|
|
{ip, "::"},
|
|
{port, 8022},
|
|
{service_urls, #{
|
|
'Automaton' => <<"http://machinegun:8022/v1/automaton">>,
|
|
'EventSink' => <<"http://machinegun:8022/v1/event_sink">>,
|
|
'Accounter' => <<"http://shumway:8022/accounter">>
|
|
}},
|
|
{proxy_opts, #{
|
|
transport_opts => #{
|
|
connect_timeout => 1000,
|
|
recv_timeout => 40000
|
|
}
|
|
}}
|
|
]}
|
|
].
|