#!/bin/bash set -ex cd "$(dirname "$0")" # export BTCPAY_FASTSYNC_ARCHIVE_FILENAME="utxo-snapshot-bitcoin-testnet-1445586.tar" # BTCPAY_REMOTE_RESTORE_PATH="/var/lib/docker/volumes/generated_bitcoin_datadir/_data" # This is the config for a basic proxy to the listening port 127.0.0.1:2368 # It also supports modern TLS, so SSL certs must be available. cat > "$SITE_PATH/btcpay.sh" <> "$SITE_PATH/btcpay.sh" <> "$SITE_PATH/btcpay.sh" <> "$SITE_PATH/btcpay.sh" <