From e4c4d039ffd83b0fe8fde0e37630110ac55ce1b6 Mon Sep 17 00:00:00 2001 From: Paulius Stakauskas Date: Tue, 10 Dec 2019 14:29:08 +0000 Subject: [PATCH] Add payment key secret --- docker-entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index c9e5c75..f6e4dd6 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -20,6 +20,10 @@ if [ -f /run/secrets/co_clientchain_asset_key ]; then export CO_CLIENTCHAIN_ASSET_KEY="$(cat /run/secrets/co_clientchain_asset_key)" fi +if [ -f /run/secrets/co_clientchain_payment_key ]; then + export CO_CLIENTCHAIN_PAYMENT_KEY="$(cat /run/secrets/co_clientchain_payment_key)" +fi + case "$1" in coordinator) echo "Running coordinator"