51 lines
1.2 KiB
INI
51 lines
1.2 KiB
INI
blade:
|
|
{
|
|
# client stuff, for peers who connect out to services
|
|
client:
|
|
{
|
|
directory:
|
|
{
|
|
# todo: hints for ways to find a directory service, at least kws client_data for now
|
|
# add DNS SRV in the future
|
|
uri = "???:127.0.0.1+2100:???"; # todo: confirm expected format, "uri:host:proto"
|
|
|
|
websocket:
|
|
{
|
|
# SSL group is optional, disabled when absent
|
|
ssl:
|
|
{
|
|
# todo: client SSL stuffs here
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
# server stuff, for services that peers connect to
|
|
# todo: consider encapsulating in a "server" group for organizational structure
|
|
datastore:
|
|
{
|
|
database:
|
|
{
|
|
path = ":mem:";
|
|
};
|
|
};
|
|
service:
|
|
{
|
|
websockets:
|
|
{
|
|
endpoints:
|
|
{
|
|
ipv4 = ( { address = "0.0.0.0", port = 2100 } );
|
|
ipv6 = ( { address = "::", port = 2100 } );
|
|
backlog = 128;
|
|
};
|
|
# SSL group is optional, disabled when absent
|
|
ssl:
|
|
{
|
|
# todo: service SSL stuffs here
|
|
};
|
|
};
|
|
};
|
|
};
|