Skip to content

Commit

Permalink
Merge pull request #33 from commerceblock/bt/co_clientchain_asset_key
Browse files Browse the repository at this point in the history
co_clientchain_asset_key as docker secret
  • Loading branch information
Nikos Kostoulas authored Sep 16, 2019
2 parents 4c1974d + 29bede5 commit 629d838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 629d838

Please sign in to comment.