diff --git a/configs/db.toml b/configs/db.toml index 071a020..dd6d42b 100644 --- a/configs/db.toml +++ b/configs/db.toml @@ -1,4 +1,4 @@ -port = 8710 +port = 18710 num_workers = 20 db_path = "/bnk/data" token = "" diff --git a/configs/key.toml b/configs/key.toml index bb8902b..b228703 100644 --- a/configs/key.toml +++ b/configs/key.toml @@ -1,9 +1,9 @@ version = 1 attestation_style = 1 -port = 8730 +port = 18730 executors = 2 -db_url = "http://127.0.0.1:8710" -msg_pool_url = "http://127.0.0.1:8720" +db_url = "http://127.0.0.1:18710" +msg_pool_url = "http://127.0.0.1:18720" db_token = "" cert_path = "../servers/test-ca/ca.cert" round_time_limit = 60 diff --git a/configs/monitor.toml b/configs/monitor.toml index f9c089b..aa3a5a2 100644 --- a/configs/monitor.toml +++ b/configs/monitor.toml @@ -1,7 +1,5 @@ -port = 8740 +port = 18740 database_url = "/bnk/data/sqlite.db" -notified_url = "http://localhost:8750/event" - [default_watcher] enabled = true diff --git a/configs/watcher.toml b/configs/watcher.toml index 9643fd1..ba66f9c 100644 --- a/configs/watcher.toml +++ b/configs/watcher.toml @@ -1,24 +1,22 @@ # local msg_pool server port. -msg_pool_port = 8720 +msg_pool_port = 18720 # local node url for watcher -node_ws_url = "ws://127.0.0.1:9944" +node_ws_url = "ws://127.0.0.1:9945" # local database url for data storage. -db_url = "http://127.0.0.1:8710" +db_url = "http://127.0.0.1:18710" # local database token for database usage. db_token = "" # local sgx key server url -key_server_url = "https://localhost:8730" +key_server_url = "https://localhost:18730" # used to generate LocalKeyStore, used to get AccountId in substrate. identity = "0x0000000000000000000000000000000000000000000000000000000000000000" -# Notifies relayer of the event -relayer_server_url = "http://localhost:8750" # seconds per block block_time = 3 # blocks per epoch epoch_duration = 200 [network_config] -port = 38700 -boot_nodes = ["/ip4/20.3.233.7/tcp/38700/p2p/12D3KooWEZopB8nMuMGFT24LrkGzxCEkwUpY4w5mgY78biy8ZiU5"] +port = 48700 +boot_nodes = [""] share_peer_interval = 30 only_global_ips = true \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 6129e44..8754d80 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,9 +3,9 @@ services: bnk-node: image: boolnetwork/bnk-node:pre-release ports: - - "9933:9933" - - "9944:9944" - - "30333:30333" + - "9934:9933" + - "9945:9944" + - "30335:30333" environment: RUST_LOG: info volumes: