root@wariodebtest:~# mkdir /root/BTCPayServer
root@wariodebtest:~# ls
BTCPayServer
root@wariodebtest:~# cd BTCPayServer/
root@wariodebtest:~/BTCPayServer# git clone https://github.com/btcpayserver/btcpayserver-docker
Klone nach 'btcpayserver-docker' ...
remote: Enumerating objects: 13914, done.
remote: Counting objects: 100% (639/639), done.
remote: Compressing objects: 100% (267/267), done.
remote: Total 13914 (delta 460), reused 532 (delta 372), pack-reused 13275
Empfange Objekte: 100% (13914/13914), 4.47 MiB | 5.82 MiB/s, fertig.
Löse Unterschiede auf: 100% (10818/10818), fertig.
root@wariodebtest:~/BTCPayServer# cd btcpayserver-docker
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAY_HOST="btcpay.EXAMPLE.com"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export NBITCOIN_NETWORK="mainnet"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAYGEN_CRYPTO1="btc"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAYGEN_ADDITIONAL_FRAGMENTS="opt-save-storage-s"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAYGEN_REVERSEPROXY="nginx"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAYGEN_LIGHTNING="clightning"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAY_ENABLE_SSH=true
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# . ./btcpay-setup.sh -i
BTCPAYGEN_REVERSEPROXY is set to nginx, so BTCPAY_HOST must be a domain name which point to this server, but the current value of BTCPAY_HOST ('btcpay.EXAMPLE.com') is not a valid domain name.
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# export BTCPAY_HOST="btcpay.example.com"
root@wariodebtest:~/BTCPayServer/btcpayserver-docker# . ./btcpay-setup.sh -i
-------SETUP-----------
Parameters passed:
BTCPAY_PROTOCOL:https
BTCPAY_HOST:btcpay.example.com
BTCPAY_ADDITIONAL_HOSTS:
REVERSEPROXY_HTTP_PORT:80
REVERSEPROXY_HTTPS_PORT:443
REVERSEPROXY_DEFAULT_HOST:none
LIBREPATRON_HOST:
ZAMMAD_HOST:
WOOCOMMERCE_HOST:
BTCTRANSMUTER_HOST:
CHATWOOT_HOST:
BTCPAY_ENABLE_SSH:true
BTCPAY_HOST_SSHKEYFILE:
LETSENCRYPT_EMAIL:
NBITCOIN_NETWORK:mainnet
LIGHTNING_ALIAS:
BTCPAYGEN_CRYPTO1:btc
BTCPAYGEN_CRYPTO2:
BTCPAYGEN_CRYPTO3:
BTCPAYGEN_CRYPTO4:
BTCPAYGEN_CRYPTO5:
BTCPAYGEN_CRYPTO6:
BTCPAYGEN_CRYPTO7:
BTCPAYGEN_CRYPTO8:
BTCPAYGEN_CRYPTO9:
BTCPAYGEN_REVERSEPROXY:nginx
BTCPAYGEN_LIGHTNING:clightning
BTCPAYGEN_ADDITIONAL_FRAGMENTS
pt-save-storage-s
BTCPAYGEN_EXCLUDE_FRAGMENTS:
BTCPAY_IMAGE:
ACME_CA_URI
roduction
TOR_RELAY_NICKNAME:
TOR_RELAY_EMAIL:
PIHOLE_SERVERIP:
FIREFLY_HOST:
----------------------
Additional exported variables:
BTCPAY_DOCKER_COMPOSE=/root/BTCPayServer/btcpayserver-docker/Generated/docker-compose.generated.yml
BTCPAY_BASE_DIRECTORY=/root/BTCPayServer
BTCPAY_ENV_FILE=/root/BTCPayServer/.env
BTCPAYGEN_OLD_PREGEN=false
BTCPAY_SSHKEYFILE=/datadir/host_id_ed25519
BTCPAY_SSHAUTHORIZEDKEYS=/datadir/host_authorized_keys
BTCPAY_HOST_SSHAUTHORIZEDKEYS:/root/.ssh/authorized_keys
BTCPAY_SSHTRUSTEDFINGERPRINTS:
BTCPAY_CRYPTOS:btc
BTCPAY_ANNOUNCEABLE_HOST:btcpay.example.com
----------------------
BTCPay Server environment variables successfully saved in /etc/profile.d/btcpay-env.sh
BTCPay Server docker-compose parameters saved in /root/BTCPayServer/.env
Trying to install docker-compose by using the btcpayserver/docker-compose (x86_64)
Unable to find image 'btcpayserver/docker-compose:1.28.6' locally
1.28.6: Pulling from btcpayserver/docker-compose
23a3602cd30c: Pull complete
bcfa62bd6a27: Pull complete
Digest: sha256:520f156763402041c04cf72a06f51c417cf7c7bc11c4c513cfe57f1080774a39
Status: Downloaded newer image for btcpayserver/docker-compose:1.28.6
Using default tag: latest
latest: Pulling from btcpayserver/docker-compose-generator
bd159e379b3b: Pull complete
267743ec4ad4: Pull complete
becdac357084: Pull complete
fecdfb61533a: Pull complete
7cf47473b819: Pull complete
ab8dc5859f79: Pull complete
4dbcf6f7afa5: Pull complete
Digest: sha256:3a66d72869c71e032396bd4e0cf997533c2118467be1a4706dcd2f11beb3ac8e
Status: Downloaded newer image for btcpayserver/docker-compose-generator:latest
docker.io/btcpayserver/docker-compose-generator:latest
Crypto: btc
Lightning: clightning
ReverseProxy: nginx
Generating /app/Generated/docker-compose.generated.yml
Selected fragments:
nginx
btcpayserver
bitcoin
bitcoin-clightning
opt-save-storage-s
opt-add-tor
nginx-https
nbxplorer
postgres
btcpayserver-nginx
Generated /app/Generated/pull-images.sh
Generated /app/Generated/save-images.sh
Generated /app/Generated/docker-compose.generated.yml
Adding btcpayserver.service to systemd
Setting limited log files in /etc/docker/daemon.json
BTCPay Server systemd configured in /etc/systemd/system/btcpayserver.service
Created symlink /etc/systemd/system/multi-user.target.wants/btcpayserver.service → /etc/systemd/system/btcpayserver.service.
BTCPay Server starting... this can take 5 to 10 minutes...
BTCPay Server starting... this can take 5 to 10 minutes...
BTCPay Server started
nginx is up-to-date
tor is up-to-date
generated_postgres_1 is up-to-date
generated_bitcoin_rtl_1 is up-to-date
btcpayserver_bitcoind is up-to-date
tor-gen is up-to-date
generated_nbxplorer_1 is up-to-date
btcpayserver_clightning_bitcoin is up-to-date
generated_clightning_bitcoin_rest_1 is up-to-date
generated_clightning_bitcoin_spark_1 is up-to-date
generated_btcpayserver_1 is up-to-date
generated_clightning_bitcoin_charge_1 is up-to-date
nginx-gen is up-to-date
letsencrypt-nginx-proxy-companion is up-to-date
Installed bitcoin-cli.sh to /usr/local/bin: Command line for your Bitcoin instance
Installed bitcoin-lightning-cli.sh to /usr/local/bin: Command line for your Bitcoin C-Lightning instance
Installed btcpay-clean.sh to /usr/local/bin: Command line for deleting old unused docker images
Installed btcpay-down.sh to /usr/local/bin: Command line for stopping all services related to BTCPay Server
Installed btcpay-restart.sh to /usr/local/bin: Command line for restarting all services related to BTCPay Server
Installed btcpay-setup.sh to /usr/local/bin: Command line for restarting all services related to BTCPay Server
Installed btcpay-up.sh to /usr/local/bin: Command line for starting all services related to BTCPay Server
Installed btcpay-admin.sh to /usr/local/bin: Command line for some administrative operation in BTCPay Server
Installed btcpay-update.sh to /usr/local/bin: Command line for updating your BTCPay Server to the latest commit of this repository
Installed changedomain.sh to /usr/local/bin: Command line for changing the external domain of your BTCPay Server
root@wariodebtest:~/BTCPayServer/btcpayserver-docker#