mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 15:17:22 +08:00
update yaml
This commit is contained in:
parent
b48e35d08b
commit
bf8a414a2c
@ -4,7 +4,7 @@ node_call_port = 8720
|
||||
# used to generate LocalKeyStore, used to get AccountId in substrate.
|
||||
identity = "0x0000000000000000000000000000000000000000000000000000000000000000"
|
||||
# database path
|
||||
db_path = "/bnk/data"
|
||||
db_path = "/host/data"
|
||||
# tokio console port
|
||||
console_port = 5555
|
||||
# database start option
|
||||
|
||||
@ -4,11 +4,14 @@ services:
|
||||
image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2
|
||||
network_mode: "host"
|
||||
# ports:
|
||||
# - "8730:8730"
|
||||
# - "8720:8720"
|
||||
# - "38700:38700"
|
||||
environment:
|
||||
RUST_LOG: info
|
||||
volumes:
|
||||
- ./configs/watcher.toml:/bnk/watcher.toml
|
||||
- ./configs:/configs
|
||||
- ./data:/root/occlum_instance/data
|
||||
devices:
|
||||
- /dev/sgx/enclave
|
||||
- /dev/sgx/provision
|
||||
- /dev/sgx/provision
|
||||
command: bash -c 'cp /configs/watcher.toml /root/occlum_instance; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/watcher.toml'
|
||||
Loading…
Reference in New Issue
Block a user