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.11.12 restart: always network_mode: "host" environment: RUST_LOG: info volumes: - ./configs:/configs - ./data:/root/occlum_instance/data - ./configs/sgx_default_qcnl.conf:/etc/sgx_default_qcnl.conf 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'