diff --git a/config.0.toml b/config.0.toml new file mode 100644 index 0000000..5e0340d --- /dev/null +++ b/config.0.toml @@ -0,0 +1,31 @@ +[telemetry] +listen_on = "127.0.0.1:8080" + +[irc] +listen_on = "127.0.0.1:6667" +server_name = "irc.localhost" + +[xmpp] +listen_on = "127.0.0.1:5222" +cert = "./certs/xmpp.pem" +key = "./certs/xmpp.key" +hostname = "localhost" + +[storage] +db_path = "db.0.sqlite" + +[cluster] +addresses = [ + "127.0.0.1:8080", + "127.0.0.1:8081", +] + +[cluster.metadata] +node_id = 0 +main_owner = 0 +test_owner = 1 +test2_owner = 0 + +[tracing] +endpoint = "http://localhost:4317" +service_name = "lavina-0" diff --git a/config.1.toml b/config.1.toml new file mode 100644 index 0000000..b522b67 --- /dev/null +++ b/config.1.toml @@ -0,0 +1,31 @@ +[telemetry] +listen_on = "127.0.0.1:8081" + +[irc] +listen_on = "127.0.0.1:6668" +server_name = "irc.localhost" + +[xmpp] +listen_on = "127.0.0.1:5223" +cert = "./certs/xmpp.pem" +key = "./certs/xmpp.key" +hostname = "localhost" + +[storage] +db_path = "db.1.sqlite" + +[cluster] +addresses = [ + "127.0.0.1:8080", + "127.0.0.1:8081", +] + +[cluster.metadata] +node_id = 1 +main_owner = 0 +test_owner = 1 +test2_owner = 0 + +[tracing] +endpoint = "http://localhost:4317" +service_name = "lavina-1"