From 0a0756d4dae2306d3dbbce3ba1a55e151a8c741c Mon Sep 17 00:00:00 2001 From: anonpenguin Date: Mon, 4 Aug 2025 18:51:42 +0300 Subject: [PATCH] Update RQLite raft port to 7001 in configuration files --- configs/bootstrap.yaml | 2 +- configs/node.yaml | 2 +- pkg/config/config.go | 2 +- scripts/install-debros-network.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/bootstrap.yaml b/configs/bootstrap.yaml index 5c4b982..00406bf 100644 --- a/configs/bootstrap.yaml +++ b/configs/bootstrap.yaml @@ -15,7 +15,7 @@ database: max_database_size: 1073741824 # 1GB backup_interval: "24h" rqlite_port: 5001 - rqlite_raft_port: 5002 + rqlite_raft_port: 7001 discovery: bootstrap_peers: [] # Bootstrap nodes don't need peers diff --git a/configs/node.yaml b/configs/node.yaml index 2ddd8ee..37de7d5 100644 --- a/configs/node.yaml +++ b/configs/node.yaml @@ -15,7 +15,7 @@ database: max_database_size: 1073741824 # 1GB backup_interval: "24h" rqlite_port: 5001 - rqlite_raft_port: 5002 + rqlite_raft_port: 7001 discovery: bootstrap_peers: diff --git a/pkg/config/config.go b/pkg/config/config.go index 182b75a..19cc9e3 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -122,7 +122,7 @@ func DefaultConfig() *Config { // RQLite-specific configuration RQLitePort: 5001, - RQLiteRaftPort: 5002, + RQLiteRaftPort: 7001, RQLiteJoinAddress: "", // Empty for bootstrap node }, Discovery: DiscoveryConfig{ diff --git a/scripts/install-debros-network.sh b/scripts/install-debros-network.sh index b76e1b6..0da33b1 100755 --- a/scripts/install-debros-network.sh +++ b/scripts/install-debros-network.sh @@ -17,7 +17,7 @@ REPO_URL="https://git.debros.io/DeBros/network.git" MIN_GO_VERSION="1.19" NODE_PORT="4001" RQLITE_NODE_PORT="5001" -RAFT_NODE_PORT="5002" +RAFT_NODE_PORT="7001" UPDATE_MODE=false NON_INTERACTIVE=false