From 29bede5b1b44bb2c944e2b0bab46bd61ec094b72 Mon Sep 17 00:00:00 2001 From: haael Date: Mon, 16 Sep 2019 11:22:14 +0100 Subject: [PATCH] co_clientchain_asset_key as docker secret --- docker-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 9d66a66..c9e5c75 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -16,6 +16,10 @@ if [ -f /run/secrets/co_service_pass ]; then export CO_SERVICE_PASS="$(cat /run/secrets/co_service_pass)" fi +if [ -f /run/secrets/co_clientchain_asset_key ]; then + export CO_CLIENTCHAIN_ASSET_KEY="$(cat /run/secrets/co_clientchain_asset_key)" +fi + case "$1" in coordinator) echo "Running coordinator"