[
    {tfte, [
        {services, [
            {te, [{http, "localhost", 11010, []}], #{}}
        ]}
    ]},

    {pcep_server, [
        {handler, {epce_pcep_server_handler, []}}
    ]},

	{epce, [
	]},

    {grpcbox, [
        {servers, [#{
            grpc_opts => #{
                service_protos => [te_pb, grpcbox_health_pb, grpcbox_reflection_pb],
                %client_cert_dir => "",
                services => #{
                    'te.TEService' => tfte_te_service,
                    'grpc.health.v1.Health' => grpcbox_health_service,
                    'grpc.reflection.v1alpha.ServerReflection' => grpcbox_reflection_service
                }
            },
            transport_opts => #{
                ssl => false
                %keyfile => "",
                %certfile => "",
                %cacertfile => ""
            },
            listen_opts => #{
                port => 11010,
                ip => {0,0,0,0}
            },
            pool_opts => #{
                size => 10
            },
            server_opts => #{
                header_table_size => 4096,
                enable_push => 1,
                max_concurrent_streams => unlimited,
                initial_window_size => 65535,
                max_frame_size => 16384,
                max_header_list_size => unlimited
            }
        }]}
    ]},

    {kernel, [
        {logger_level, debug},
        {logger, [
            {handler, default, logger_std_h, #{
                level => debug,
                filter_default => log,
                config => #{type => standard_io},
                formatter => {logger_formatter, #{
                    legacy_header => false,
                    single_line => true
                }}
            }}
        ]}
    ]}
].