hellgate/config/sys.config
Andrew Mayorov bcd776a418 Implement all the hacks (#63)
* 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
2017-02-01 21:44:07 +03:00

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
}
}}
]}
].