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
RUN_CERT_RENEWAL=false
RUN_CERT_RENEWAL=true
SKIP_WWW=false
RESTORE_WWW=false
RESTORE_CERTS=false
BACKUP_CERTS=false
BACKUP_APPS=false
BACKUP_BTCPAY=false
BACKUP_CERTS=false
BACKUP_APPS=false
@ -101,8 +100,8 @@ for i in "$@"; do
SKIP_BTCPAY=true
shift
;;
--cert-renew)
RUN_CERT_RENEWAL=true
--no-cert-renew)
RUN_CERT_RENEWAL=false
shift
;;
-y)
@ -116,7 +115,6 @@ for i in "$@"; do
esac
done
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."
exit 1

View File

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