Update docker-compose.yml

This commit is contained in:
kaiyu 2024-11-04 10:12:32 +08:00 committed by GitHub
parent 69c92541b6
commit 95f4890138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ version: "3"
services:
bnk-occlum-keyring:
# Before changing version numbers, make sure your device is in Standby status, or not registered. Otherwise you will be punished.
image: boolnetwork/bnk-occlum-keyring-dcap:v0.12.7
image: boolnetwork/bnk-occlum-keyring-dcap:v0.12.8
restart: always
network_mode: "host"
environment:
@ -14,4 +14,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; 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'
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 run /host/keyring.toml'