From 5377b4c96acd130e606fa1b380f115bcbc981e38 Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Fri, 3 May 2024 22:35:47 +0200 Subject: [PATCH] config --- config.0.toml | 31 +++++++++++++++++++++++++++++++ config.1.toml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 config.0.toml create mode 100644 config.1.toml 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"