Skip to content

Commit

Permalink
co_clientchain_asset_key as docker secret
Browse files Browse the repository at this point in the history
  • Loading branch information
haael committed Sep 16, 2019
1 parent 4c1974d commit 29bede5
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 29bede5

Please sign in to comment.