testnet-onboarding-app-stack/stack-orchestrator/config/api/run.sh
Prathamesh Musale 1e3e592b10 Add stacks for testnet-onboarding-app and testnet-onboarding-api (#1)
Part of  [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) and [Sumsub KYC integration in onboarding app](https://www.notion.so/Sumsub-KYC-integration-in-onboarding-app-607b598c9c1d4d12adc71725e2ab5e7e)

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-26 06:31:40 +00:00

19 lines
416 B
Bash
Executable File

#!/bin/bash
set -e
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
echo "Using the following env variables:"
echo "SUMSUB_APP_TOKEN: ${SUMSUB_APP_TOKEN}"
echo "SUMSUB_SECRET_KEY: ${SUMSUB_SECRET_KEY}"
echo "KYC_LEVEL: ${KYC_LEVEL}"
echo "TTL_IN_SECS: ${TTL_IN_SECS}"
SUMSUB_APP_TOKEN=$SUMSUB_APP_TOKEN \
SUMSUB_SECRET_KEY=$SUMSUB_SECRET_KEY \
KYC_LEVEL=$KYC_LEVEL \
TTL_IN_SECS=$TTL_IN_SECS \
node dist/index.js