update yaml

This commit is contained in:
kayryu 2023-09-26 12:51:30 +00:00
parent b48e35d08b
commit bf8a414a2c
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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'