Compare commits

...

8 Commits

Author SHA1 Message Date
Derek Smith 123fef5103
Enable debuggin on www 2023-12-14 19:53:26 -05:00
Derek Smith 76b480a053
Update lnplay 2023-12-14 12:45:31 -05:00
Derek Smith 0f9f564b82
Update lnplay 2023-11-30 16:34:19 -05:00
Derek Smith 52239974d4
Update lnplay. 2023-11-29 21:34:07 -05:00
Derek Smith 4a16abdf10
Update LNPlay 2023-11-29 09:24:54 -05:00
Derek Smith f4cc0f3105
Fix some wiring issues. 2023-11-29 09:24:44 -05:00
Derek Smith 37eb43aa9b
Updates 2023-11-21 16:49:19 -05:00
Derek Smith 8aa285b096
Update lnplay to incus branch. 2023-09-22 17:55:10 -06:00
7 changed files with 4 additions and 13 deletions

View File

@ -18,7 +18,7 @@ ssh "$BTCPAY_SERVER_FQDN" "mkdir -p $REMOTE_BACKUP_PATH; cd $REMOTE_DATA_PATH/;
sleep 10
# TODO enable encrypted archives
# TODO switch to btcpay-backup.sh when on LXD fully.
# TODO switch to btcpay-backup.sh
scp ./remote_scripts/btcpay-backup.sh "$BTCPAY_SERVER_FQDN:$REMOTE_DATA_PATH/btcpay-backup.sh"
ssh "$BTCPAY_SERVER_FQDN" "sudo cp $REMOTE_DATA_PATH/btcpay-backup.sh $BTCPAY_SERVER_APPPATH/btcpay-backup.sh && sudo chmod 0755 $BTCPAY_SERVER_APPPATH/btcpay-backup.sh"
ssh "$BTCPAY_SERVER_FQDN" "cd $REMOTE_DATA_PATH/; sudo BTCPAY_BASE_DIRECTORY=$REMOTE_DATA_PATH BTCPAY_DOCKER_COMPOSE=$REMOTE_DATA_PATH/btcpayserver-docker/Generated/docker-compose.generated.yml bash -c $BTCPAY_SERVER_APPPATH/btcpay-backup.sh"

View File

@ -33,12 +33,6 @@ elif [ "$RESTORE_BTCPAY" = true ]; then
BACKUP_BTCPAY=false
fi
# if the script gets this far, then we grab a regular backup.
if [ "$BACKUP_BTCPAY" = true ]; then
# we just grab a regular backup
./backup_btcpay.sh
fi
# The default is to resume services, though admin may want to keep services off (eg., for a migration)
# we bring the services back up by default.
ssh "$BTCPAY_SERVER_FQDN" "bash -c $BTCPAY_SERVER_APPPATH/btcpay-up.sh"

2
lnplay

@ -1 +1 @@
Subproject commit ea683f696fe16436ca425a4c925a780f8f218a34
Subproject commit e9a18f9385414c1dc34381f39c2709cf115c907f

View File

@ -54,8 +54,6 @@ export GITEA_DB_IMAGE="$DEFAULT_DB_IMAGE"
export NOSTR_RELAY_IMAGE="scsibug/nostr-rs-relay"
export WWW_SERVER_MAC_ADDRESS=
export BTCPAY_SERVER_MAC_ADDRESS=
export OTHER_SITES_LIST=
export BTCPAY_ALT_NAMES=

View File

@ -15,7 +15,7 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
source "$SITE_PATH/site.conf"
source ../domain_env.sh
# with the lxd side, we are trying to expose ALL OUR services from one IP address, which terminates
# with the incus side, we are trying to expose ALL OUR services from one IP address, which terminates
# at a cachehing reverse proxy that runs nginx.
ssh "$PRIMARY_WWW_FQDN" sudo mkdir -p "$REMOTE_DATA_PATH_LETSENCRYPT/$DOMAIN_NAME/_logs"

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -eu
set -exu
cd "$(dirname "$0")"
# this scripts brings down the docker stacks on www

View File

@ -251,7 +251,6 @@ EOL
# Route everything to the real BTCPay server
location / {
#proxy_pass http://${BTCPAY_SERVER_FQDN//./-}.lxd:80;
proxy_pass http://10.10.10.66:80;
proxy_set_header Host \$http_host;
proxy_set_header X-Forwarded-Proto \$scheme;