ircd: example config files

This commit is contained in:
lunar-mining
2022-05-03 10:05:53 +02:00
parent acd6d9549d
commit 182ee14212
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
## JSON-RPC listen URL
rpc_listen="127.0.0.1:1234"
## IRC listen URL
irc_listen="127.0.0.1:11067"
## Sets Datastore Path
datastore="~/.config/ircd-inbound"
## Raft net settings
[net]
## P2P accept address
inbound="127.0.0.1:11002"
## Connection slots
#outbound_connections=5
## P2P external address
external_addr="127.0.0.1:11004"
## Peers to connect to
#peers=["127.0.0.1:11003"]
## Seed nodes to connect to
seeds=["127.0.0.1:11001"]
## these are the default configuration for the p2p network
#manual_attempt_limit=0
#seed_query_timeout_seconds=8
#connect_timeout_seconds=10
#channel_handshake_seconds=4
#channel_heartbeat_seconds=10

View File

@@ -0,0 +1,33 @@
## JSON-RPC listen URL
rpc_listen="127.0.0.1:7777"
## IRC listen URL
irc_listen="127.0.0.1:11066"
## Sets Datastore Path
datastore="~/.config/ircd-outbound"
## Raft net settings
[net]
## P2P accept address
# inbound="127.0.0.1:11002"
## Connection slots
outbound_connections=5
## P2P external address
#external_addr="127.0.0.1:11002"
## Peers to connect to
#peers=["127.0.0.1:11003"]
## Seed nodes to connect to
seeds=["127.0.0.1:11001"]
## these are the default configuration for the p2p network
#manual_attempt_limit=0
#seed_query_timeout_seconds=8
#connect_timeout_seconds=10
#channel_handshake_seconds=4
#channel_heartbeat_seconds=10

33
bin/ircd/config/seed.toml Normal file
View File

@@ -0,0 +1,33 @@
## JSON-RPC listen URL
rpc_listen="127.0.0.1:8000"
## IRC listen URL
irc_listen="127.0.0.1:11065"
## Sets Datastore Path
datastore="~/.config/ircd-seed"
## Raft net settings
[net]
## P2P accept address
inbound="127.0.0.1:11001"
## Connection slots
# outbound_connections=5
## P2P external address
# external_addr="127.0.0.1:11001"
## Peers to connect to
# peers=["127.0.0.1:11001"]
## Seed nodes to connect to
# seeds=["127.0.0.1:11002"]
## these are the default configuration for the p2p network
#manual_attempt_limit=0
#seed_query_timeout_seconds=8
#connect_timeout_seconds=10
#channel_handshake_seconds=4
#channel_heartbeat_seconds=10