Minor updates.

This commit is contained in:
Derek Smith 2023-04-05 20:05:40 -04:00
parent d3eba31bf4
commit f05daa9bfb
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
2 changed files with 6 additions and 7 deletions

View File

@ -35,12 +35,11 @@ if lxc remote get-default | grep -q "production"; then
fi fi
RUN_CERT_RENEWAL=false RUN_CERT_RENEWAL=true
SKIP_WWW=false SKIP_WWW=false
RESTORE_WWW=false RESTORE_WWW=false
RESTORE_CERTS=false RESTORE_CERTS=false
BACKUP_CERTS=false BACKUP_CERTS=false
BACKUP_APPS=false
BACKUP_BTCPAY=false BACKUP_BTCPAY=false
BACKUP_CERTS=false BACKUP_CERTS=false
BACKUP_APPS=false BACKUP_APPS=false
@ -101,8 +100,8 @@ for i in "$@"; do
SKIP_BTCPAY=true SKIP_BTCPAY=true
shift shift
;; ;;
--cert-renew) --no-cert-renew)
RUN_CERT_RENEWAL=true RUN_CERT_RENEWAL=false
shift shift
;; ;;
-y) -y)
@ -116,7 +115,6 @@ for i in "$@"; do
esac esac
done done
if [ "$RESTORE_BTCPAY" = true ] && [ -z "$BACKUP_BTCPAY_ARCHIVE_PATH" ]; then if [ "$RESTORE_BTCPAY" = true ] && [ -z "$BACKUP_BTCPAY_ARCHIVE_PATH" ]; then
echo "ERROR: Use the '--backup-archive-path=/path/to/btcpay/archive.tar.gz' option when restoring btcpay server." echo "ERROR: Use the '--backup-archive-path=/path/to/btcpay/archive.tar.gz' option when restoring btcpay server."
exit 1 exit 1

View File

@ -85,8 +85,6 @@ configs:
EOL EOL
################ NETWORKS SECTION ################ NETWORKS SECTION
cat >> "$DOCKER_YAML_PATH" <<EOL cat >> "$DOCKER_YAML_PATH" <<EOL
networks: networks:
@ -101,6 +99,9 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
source "$SITE_PATH/site.conf" source "$SITE_PATH/site.conf"
source ../../domain_env.sh source ../../domain_env.sh
# for each language specified in the site.conf, we spawn a separate ghost container # for each language specified in the site.conf, we spawn a separate ghost container
# at https://www.domain.com/$LANGUAGE_CODE # at https://www.domain.com/$LANGUAGE_CODE
for LANGUAGE_CODE in ${SITE_LANGUAGE_CODES//,/ }; do for LANGUAGE_CODE in ${SITE_LANGUAGE_CODES//,/ }; do