mining-scripts/docker-compose.yml
fys05 d8e549e179
update version (#10)
* Update README.md

* Update docker-compose.yml

* Update README.md

* Update docker-compose.yml

* Update README.md

* Update docker-compose.yml
2024-03-13 15:54:33 +08:00

20 lines
847 B
YAML

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:v0.6.6
restart: always
network_mode: "host"
# ports:
# - "8720:8720"
# - "38700:38700"
environment:
RUST_LOG: info
volumes:
- ./configs:/configs
- ./data:/root/occlum_instance/data
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'