diff --git a/entrypoint.sh b/entrypoint.sh index 1b991d6..ed69261 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,14 +4,8 @@ set -euo pipefail # Check, if the AZURITE_ACCOUNTS variable is set if [[ -z "$AZURITE_ACCOUNTS" ]]; then - if [[ -f "/storage/accounts.env" ]]; then - set -a - source "/storage/accounts.env" - set +a - else - # Generate a default account - export AZURITE_ACCOUNTS="devstoreaccount1:$(openssl rand -base64 32)" - fi + echo "Error: AZURITE_ACCOUNTS variable is not set." >&2 + exit 1 fi # Look up the account name from the AZURITE_ACCOUNTS variable, which is in the format "accountName:accountKey1:accountKey2;accountName2:accountKey1:accountKey2"