diff --git a/configs/watcher.toml b/configs/keyring.toml similarity index 100% rename from configs/watcher.toml rename to configs/keyring.toml diff --git a/docker-compose.yml b/docker-compose.yml index 1fd7927..aa3cebc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: "3" services: bnk-occlum-keyring: image: boolnetwork/bnk-occlum-keyring-epid:v0.5.2 + restart: always network_mode: "host" # ports: # - "8720:8720" @@ -14,4 +15,4 @@ services: devices: - /dev/sgx/enclave - /dev/sgx/provision - command: bash -c 'cp /configs/watcher.toml /root/occlum_instance; source /root/.bashrc; cd /root/occlum_instance; occlum print mrsigner; occlum print mrenclave; occlum run /bin/bnk-watcher /host/watcher.toml' \ No newline at end of file + 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' \ No newline at end of file