dominant-v2/config/sys.config
ndiezel0 3ec8204f79
Some checks are pending
Build and publish Docker image / build-push (push) Waiting to run
Erlang CI Checks / Load .env (push) Waiting to run
Erlang CI Checks / Run checks (push) Blocked by required conditions
Further fixes to config (#5)
2024-11-04 22:24:01 +05:00

89 lines
2.1 KiB
Plaintext

[
{kernel, [
{log_level, info},
{logger, [
{handler, default, logger_std_h, #{
level =>
debug,
config => #{
type =>
{file, "/var/log/dmt/console.json"},
sync_mode_qlen =>
20
},
formatter =>
{logger_logstash_formatter, #{}}
}}
]}
]},
{dmt, [
{host, <<"dmt">>},
{port, 8022},
{scoper_event_handler_options, #{
event_handler_opts => #{
formatter_opts => #{
max_length => 1000
}
}
}},
{services, #{
repository => #{
url => <<"http://dmt:8022/v1/domain/repository">>
},
repository_client => #{
url => <<"http://dmt:8022/v1/domain/repository_client">>
},
user_op => #{
url => <<"http://dmt:8022/v1/domain/user_op">>
}
}}
]},
{woody, [
{acceptors_pool_size, 4}
]},
{epg_connector, [
{databases, #{
default_db => #{
host => "db",
port => 5432,
username => "postgres",
password => "postgres",
database => "dmt"
}
}},
{pools, #{
default_pool => #{
database => default_db,
size => 10
},
user_op_pool => #{
database => default_db,
size => 10
}
}}
]},
{scoper, [
{storage, scoper_storage_logger}
]},
{how_are_you, [
{metrics_publishers, [
% {hay_statsd_publisher, #{
% key_prefix => <<".">>,
% host => "localhost",
% port => 8125
% }}
]}
]},
{prometheus, [
{collectors, [
default
]}
]}
].