Compare commits
No commits in common. "9c17dd84d58395024f43c9c4facf93e9b475a3f6" and "75c7b9ffaf79ab003422bdd0d6738d30f1783e0d" have entirely different histories.
9c17dd84d5
...
75c7b9ffaf
@ -59,16 +59,6 @@ export BTCPAY_BASE_DIRECTORY=${REMOTE_HOME}
|
|||||||
export BTCPAYGEN_EXCLUDE_FRAGMENTS="nginx-https;"
|
export BTCPAYGEN_EXCLUDE_FRAGMENTS="nginx-https;"
|
||||||
export REVERSEPROXY_DEFAULT_HOST="$BTCPAY_USER_FQDN"
|
export REVERSEPROXY_DEFAULT_HOST="$BTCPAY_USER_FQDN"
|
||||||
|
|
||||||
if [ "\$NBITCOIN_NETWORK" != regtest ]; then
|
|
||||||
# run fast_sync if it's not been done before.
|
|
||||||
if [ ! -f /home/ubuntu/fast_sync_completed ]; then
|
|
||||||
cd ./contrib/FastSync
|
|
||||||
./load-utxo-set.sh
|
|
||||||
touch /home/ubuntu/fast_sync_completed
|
|
||||||
cd -
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# next we create fragments to customize various aspects of the system
|
# next we create fragments to customize various aspects of the system
|
||||||
# this block customizes clightning to ensure the correct endpoints are being advertised
|
# this block customizes clightning to ensure the correct endpoints are being advertised
|
||||||
# We want to advertise the correct ipv4 endpoint for remote hosts to get in touch.
|
# We want to advertise the correct ipv4 endpoint for remote hosts to get in touch.
|
||||||
|
@ -78,7 +78,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "INFO: Publishing '$BASE_IMAGE_VM_NAME' as image '$DOCKER_BASE_IMAGE_NAME'. Please wait."
|
echo "INFO: Publishing '$BASE_IMAGE_VM_NAME' as image '$DOCKER_BASE_IMAGE_NAME'. Please wait."
|
||||||
lxc publish --public "$BASE_IMAGE_VM_NAME/$UBUNTU_BASE_IMAGE_NAME" --project=default --alias="$DOCKER_BASE_IMAGE_NAME" --compression none
|
lxc publish --public "$BASE_IMAGE_VM_NAME/$UBUNTU_BASE_IMAGE_NAME" --project=default --alias="$DOCKER_BASE_IMAGE_NAME"
|
||||||
|
|
||||||
echo "INFO: Success creating the base image. Deleting artifacts from the build process."
|
echo "INFO: Success creating the base image. Deleting artifacts from the build process."
|
||||||
lxc delete -f "$BASE_IMAGE_VM_NAME"
|
lxc delete -f "$BASE_IMAGE_VM_NAME"
|
||||||
|
@ -4,7 +4,7 @@ set -eu
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
# redirect all docker commands to the remote host.
|
# redirect all docker commands to the remote host.
|
||||||
DOCKER_HOST="ssh://ubuntu@$WWW_FQDN"
|
DOCKER_HOST="ssh://ubuntu@$PRIMARY_WWW_FQDN"
|
||||||
export DOCKER_HOST="$DOCKER_HOST"
|
export DOCKER_HOST="$DOCKER_HOST"
|
||||||
|
|
||||||
# prepare clams images and such
|
# prepare clams images and such
|
||||||
|
Loading…
Reference in New Issue
Block a user