forked from lavina/lavina
1
0
Fork 0
This commit is contained in:
Nikita Vilunov 2024-05-03 22:35:47 +02:00
parent 8a14a4d687
commit 5377b4c96a
2 changed files with 62 additions and 0 deletions

31
config.0.toml Normal file
View File

@ -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"

31
config.1.toml Normal file
View File

@ -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"