[ {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} ]} ]} ]}, {dmt_client, [ {cache_update_interval, 5000}, % milliseconds {service_urls, #{ 'Repository' => <<"http://dominant:8022/v1/domain/repository">>, 'RepositoryClient' => <<"http://dominant:8022/v1/domain/repository_client">> }} ]}, {hellgate, [ {ip, "::"}, {port, 8022}, {net_opts, [ % Bump keepalive timeout up to a minute {timeout, 60000} ]}, {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 } }} ]} ].