From 423938fe6e92a46f847308c25c731e996f2f70c1 Mon Sep 17 00:00:00 2001 From: kayryu Date: Wed, 27 Sep 2023 03:53:45 +0000 Subject: [PATCH] rename to keyring --- configs/{watcher.toml => keyring.toml} | 0 docker-compose.yml | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename configs/{watcher.toml => keyring.toml} (100%) 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