mirror of
https://github.com/boolnetwork/mining-scripts.git
synced 2026-02-21 16:27:21 +08:00
* update config * update toml and docker-compose * update yaml * rename to keyring * update readme * add toc * delete file * add exit iamge
19 lines
615 B
YAML
19 lines
615 B
YAML
version: "3"
|
|
services:
|
|
bnk-occlum-keyring:
|
|
image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2
|
|
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/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'
|