mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 15:17:22 +08:00
update config
This commit is contained in:
parent
e9bff361d8
commit
345d280d78
@ -50,3 +50,10 @@ docker-compose up -d
|
||||
```
|
||||
|
||||
More details about the config. [tee](https://boolnetwork.github.io/docs/developer/tee)
|
||||
|
||||
|
||||
```
|
||||
docker run -e RUST_LOG=info,tee=trace -itd -v `pwd`/node-data:/data -p 9934:9933 -p 9945:9944 --name bnk-node-test boolnetwork/bnk-node --dev --unsafe-ws-external --unsafe-rpc-external --rpc-cors all
|
||||
```
|
||||
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@ version = 1
|
||||
attestation_style = 1
|
||||
port = 18730
|
||||
executors = 2
|
||||
db_url = "http://127.0.0.1:18710"
|
||||
msg_pool_url = "http://127.0.0.1:18720"
|
||||
db_url = "http://10.0.0.5:18710"
|
||||
msg_pool_url = "http://10.0.0.5:18720"
|
||||
db_token = ""
|
||||
cert_path = "../servers/test-ca/ca.cert"
|
||||
round_time_limit = 60
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
# local msg_pool server port.
|
||||
msg_pool_port = 18720
|
||||
# local node url for watcher
|
||||
node_ws_url = "ws://127.0.0.1:9945"
|
||||
node_ws_url = "ws://10.0.0.5:9945"
|
||||
# local database url for data storage.
|
||||
db_url = "http://127.0.0.1:18710"
|
||||
db_url = "http://10.0.0.5:18710"
|
||||
# local database token for database usage.
|
||||
db_token = ""
|
||||
# local sgx key server url
|
||||
key_server_url = "https://localhost:18730"
|
||||
key_server_url = "https://10.0.0.5:18730"
|
||||
# used to generate LocalKeyStore, used to get AccountId in substrate.
|
||||
identity = "0x0000000000000000000000000000000000000000000000000000000000000000"
|
||||
# seconds per block
|
||||
@ -17,6 +17,6 @@ epoch_duration = 200
|
||||
|
||||
[network_config]
|
||||
port = 48700
|
||||
boot_nodes = [""]
|
||||
boot_nodes = []
|
||||
share_peer_interval = 30
|
||||
only_global_ips = true
|
||||
@ -1,21 +1,5 @@
|
||||
version: "3"
|
||||
services:
|
||||
bnk-node:
|
||||
image: boolnetwork/bnk-node:pre-release
|
||||
ports:
|
||||
- "9934:9933"
|
||||
- "9945:9944"
|
||||
- "30335:30333"
|
||||
environment:
|
||||
RUST_LOG: info
|
||||
volumes:
|
||||
- ./node-data:/data"
|
||||
command: |
|
||||
--dev
|
||||
--unsafe-rpc-external
|
||||
--unsafe-ws-external
|
||||
--rpc-cors all
|
||||
|
||||
bnk-database:
|
||||
image: boolnetwork/bnk-database:latest
|
||||
network_mode: "host"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user