From 11f9389f95f78922b19bfae92ea1ec1bc95e6a61 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Fri, 22 Apr 2022 15:23:53 -0400 Subject: [PATCH] More umbrel-related commits. Sorry Signed-off-by: Derek Smith --- shared.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/shared.sh b/shared.sh index 6aa2d28..17991fe 100755 --- a/shared.sh +++ b/shared.sh @@ -115,6 +115,13 @@ elif [ "$APP_TO_DEPLOY" = btcpay ]; then elif [ "$BTC_CHAIN" = testnet ]; then ROOT_DISK_SIZE_GB=40 fi +elif [ "$APP_TO_DEPLOY" = umbrel ]; then + DDNS_HOST="$UMBREL_HOSTNAME" + if [ "$BTC_CHAIN" = mainnet ]; then + ROOT_DISK_SIZE_GB=1000 + elif [ "$BTC_CHAIN" = testnet ]; then + ROOT_DISK_SIZE_GB=70 + fi elif [ "$APP_TO_DEPLOY" = certonly ]; then DDNS_HOST="$WWW_HOSTNAME" ROOT_DISK_SIZE_GB=8 @@ -210,3 +217,10 @@ if [ -z "$DEPLOY_BTCPPAY_SERVER" ]; then echo "ERROR: Ensure DEPLOY_BTCPPAY_SERVER is configured in your site_definition." exit 1 fi + + +if [ -z "$DEPLOY_UMBREL_VPS" ]; then + echo "ERROR: Ensure DEPLOY_UMBREL_VPS is configured in your site_definition." + exit 1 +fi +