mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 14:07:22 +08:00
Update docker-compose.yml
This commit is contained in:
parent
30325aed27
commit
d5d300e3d2
@ -1,8 +1,8 @@
|
||||
version: "3"
|
||||
services:
|
||||
bnk-occlum-keyring:
|
||||
image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2 #Different images result in different values for the attestation_style parameter in the configuration file
|
||||
# image: boolnetwork/bnk-occlum-keyring-dcap:pre-release
|
||||
#image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2 #Different images result in different values for the attestation_style parameter in the configuration file
|
||||
image: boolnetwork/bnk-occlum-keyring-dcap:v0.6.4
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
# ports:
|
||||
@ -16,4 +16,4 @@ services:
|
||||
devices:
|
||||
- /dev/sgx/enclave:/dev/sgx/enclave
|
||||
- /dev/sgx/provision:/dev/sgx/provision
|
||||
command: bash -c 'cp /configs/keyring.toml /root/occlum_instance; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/keyring.toml'
|
||||
command: bash -c 'cp /configs/keyring.toml /root/occlum_instance; apt update; apt install curl -y; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/keyring.toml'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user