mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 08:39:08 +00:00
Remove bootstrap and node config files
This commit is contained in:
parent
c0dee632a8
commit
138644aebd
@ -1,33 +0,0 @@
|
|||||||
node:
|
|
||||||
id: "" # Auto-generated
|
|
||||||
type: "bootstrap"
|
|
||||||
listen_addresses:
|
|
||||||
- "/ip4/0.0.0.0/tcp/4001"
|
|
||||||
data_dir: "./data/bootstrap"
|
|
||||||
max_connections: 100
|
|
||||||
is_bootstrap: true
|
|
||||||
|
|
||||||
database:
|
|
||||||
data_dir: "./data/bootstrap/db"
|
|
||||||
replication_factor: 3
|
|
||||||
shard_count: 16
|
|
||||||
max_database_size: 1073741824 # 1GB
|
|
||||||
backup_interval: "24h"
|
|
||||||
rqlite_port: 5001
|
|
||||||
rqlite_raft_port: 7001
|
|
||||||
|
|
||||||
discovery:
|
|
||||||
bootstrap_peers: [] # Bootstrap nodes don't need peers
|
|
||||||
enable_mdns: true
|
|
||||||
discovery_interval: "5m"
|
|
||||||
|
|
||||||
security:
|
|
||||||
enable_tls: false
|
|
||||||
private_key_file: ""
|
|
||||||
certificate_file: ""
|
|
||||||
auth_enabled: false
|
|
||||||
|
|
||||||
logging:
|
|
||||||
level: "info"
|
|
||||||
format: "console"
|
|
||||||
output_file: ""
|
|
@ -1,35 +0,0 @@
|
|||||||
node:
|
|
||||||
id: "" # Auto-generated
|
|
||||||
type: "node"
|
|
||||||
listen_addresses:
|
|
||||||
- "/ip4/0.0.0.0/tcp/4001" # Random port
|
|
||||||
data_dir: "./data/node"
|
|
||||||
max_connections: 50
|
|
||||||
is_bootstrap: false
|
|
||||||
|
|
||||||
database:
|
|
||||||
data_dir: "./data/node/db"
|
|
||||||
replication_factor: 3
|
|
||||||
shard_count: 16
|
|
||||||
max_database_size: 1073741824 # 1GB
|
|
||||||
backup_interval: "24h"
|
|
||||||
rqlite_port: 5001
|
|
||||||
rqlite_raft_port: 7001
|
|
||||||
|
|
||||||
discovery:
|
|
||||||
bootstrap_peers:
|
|
||||||
- "/ip4/127.0.0.1/tcp/4001/p2p/1111KooWFmsnHjrSLRiv1MdwDCKKyEBhrAn3vLTpdqT8pQ8S1111"
|
|
||||||
# Add more bootstrap peers as needed
|
|
||||||
enable_mdns: true
|
|
||||||
discovery_interval: "5m"
|
|
||||||
|
|
||||||
security:
|
|
||||||
enable_tls: false
|
|
||||||
private_key_file: ""
|
|
||||||
certificate_file: ""
|
|
||||||
auth_enabled: false
|
|
||||||
|
|
||||||
logging:
|
|
||||||
level: "info"
|
|
||||||
format: "console"
|
|
||||||
output_file: ""
|
|
Loading…
x
Reference in New Issue
Block a user