Various updates.

This commit is contained in:
Derek Smith 2022-01-14 16:25:45 -05:00
parent 29b079a2c6
commit d9509381ce
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC
6 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
bash -c ./refresh.sh --domain=bitizen.store --hosting-provider=lxd --macvlan-interface=eno3 --storage-backend=/dev/sda
bash -c ./deploy.sh --domain=bitizen.store --hosting-provider=lxd --macvlan-interface=eno3 --storage-backend=/dev/sda

View File

@ -31,7 +31,7 @@ for i in "$@"; do
USER_RUN_RESTORE=true
shift
;;
--update)
--update-btcpay)
UPDATE_BTCPAY=true
shift
;;

View File

@ -5,4 +5,4 @@ if [ -z "$DOMAIN_NAME" ]; then
exit 1
fi
/sovereign-stack/refresh.sh --domain="$DOMAIN_NAME"
/sovereign-stack/deploy.sh --domain="$DOMAIN_NAME"

View File

@ -12,8 +12,8 @@ docker run -it --rm \
-p 443:443 \
-v /etc/letsencrypt:/etc/letsencrypt \
-v /var/lib/letsencrypt:/var/lib/letsencrypt certbot/certbot \
certonly -v --noninteractive --agree-tos --key-type ecdsa --standalone --expand -d "$DOMAIN_NAME" -d "$FQDN" -d "$NEXTCLOUD_FQDN" -d "$MATRIX_FQDN" -d "$GITEA_FQDN" --email "$CERTIFICATE_EMAIL_ADDRESS"
certonly -v --noninteractive --agree-tos --key-type ecdsa --standalone --expand -d "$DOMAIN_NAME" -d "$FQDN" -d "$NEXTCLOUD_FQDN" -d "$MATRIX_FQDN" --email "$CERTIFICATE_EMAIL_ADDRESS"
#-d "$GITEA_FQDN"
# backup the certs to our SITE_PATH/certs.tar.gz so we have them handy (for local development)
ssh "$FQDN" sudo tar -zcvf "$REMOTE_HOME/certs.tar.gz" -C /etc ./letsencrypt
ssh "$FQDN" sudo chown ubuntu:ubuntu "$REMOTE_HOME/certs.tar.gz"

View File

@ -32,7 +32,7 @@ if [ "$RUN_RESTORE" = true ]; then
./restore_btcpay.sh
fi
# the administrator may have indicated a reconfig; if so, re-run the setup (useful for adding alternative names to TLS)
if [ "$RECONFIGURE_BTCPAY_SERVER" = true ]; then
# re-run the setup script.
./run_btcpay_setup.sh

View File

@ -25,7 +25,7 @@ fi
# stop services.
if docker stack list --format "{{.Name}}" | grep -q webstack; then
docker stack rm webstack
sleep 10
sleep 20
fi
# this will generate letsencrypt certs and pull them down locally.
@ -69,7 +69,7 @@ if [ "$DEPLOY_MATRIX" = true ]; then
-e POSTGRES_PASSWORD="${MATRIX_DB_PASSWORD}" \
-e SYNAPSE_NO_TLS=1 \
-e SYNAPSE_ENABLE_REGISTRATION=yes \
-e SYNAPSE_LOG_LEVEL=DEBUG \
-e SYNAPSE_LOG_LEVEL=INFO \
-e POSTGRES_DB=synapse \
-e POSTGRES_HOST=matrix-db \
-e POSTGRES_USER=synapse \