From 43feb2e0dc4a6eb001e5a796967ac26285212461 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 18 Aug 2018 16:16:18 +0900 Subject: [PATCH] Commit new, opt-save-storage --- btcpay-setup.sh | 8 ++++---- .../docker-fragments/opt-save-storage-s.yml | 8 ++++++++ .../docker-fragments/opt-save-storage-xxs.yml | 8 ++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 docker-compose-generator/docker-fragments/opt-save-storage-s.yml create mode 100644 docker-compose-generator/docker-fragments/opt-save-storage-xxs.yml diff --git a/btcpay-setup.sh b/btcpay-setup.sh index c25ccb7..79fd939 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -52,11 +52,11 @@ Environment variables: LETSENCRYPT_EMAIL: A mail will be sent to this address if certificate expires and fail to renew automatically (eg. me@example.com) NBITCOIN_NETWORK: The type of network to use (eg. mainnet, testnet or regtest. Default: mainnet) LIGHTNING_ALIAS: An alias for your lightning network node if used - BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, none. Default: btc) - BTCPAYGEN_CRYPTO2: Second supported crypto currency (eg. btc, ltc, none. Default: empty) - BTCPAYGEN_CRYPTON: N th supported crypto currency where N is maximum at maximum 9. (eg. btc, ltc. Default: none) + BTCPAYGEN_CRYPTO1: First supported crypto currency (eg. btc, ltc, btg, grs, ftc, via, none. Default: btc) + BTCPAYGEN_CRYPTO2: Second supported crypto currency (Default: empty) + BTCPAYGEN_CRYPTON: N th supported crypto currency where N is maximum at maximum 9. (Default: none) BTCPAYGEN_REVERSEPROXY: Whether to use or not a reverse proxy. NGinx setup HTTPS for you. (eg. nginx, none. Default: nginx) - BTCPAYGEN_LIGHTNING: Lightning network implementation to use (eg. clightning, none) + BTCPAYGEN_LIGHTNING: Lightning network implementation to use (eg. clightning, lnd, none) BTCPAYGEN_ADDITIONAL_FRAGMENTS: Semi colon separated list of additional fragments you want to use (eg. opt-save-storage) ACME_CA_URI: The API endpoint to ask for HTTPS certificate (default: https://acme-v01.api.letsencrypt.org/directory) BTCPAY_HOST_SSHKEYFILE: Optional, SSH private key that BTCPay can use to connect to this VM's SSH server. This key will be copied on BTCPay's data directory diff --git a/docker-compose-generator/docker-fragments/opt-save-storage-s.yml b/docker-compose-generator/docker-fragments/opt-save-storage-s.yml new file mode 100644 index 0000000..11177d2 --- /dev/null +++ b/docker-compose-generator/docker-fragments/opt-save-storage-s.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + bitcoind: + environment: + # If you don't use Lightning Network, use opt-save-store-xxs instead + # This save about 6 months of block, your lightning node won't be able to see channel created 6 months since the time you start it. + BITCOIN_EXTRA_ARGS: prune=50000 \ No newline at end of file diff --git a/docker-compose-generator/docker-fragments/opt-save-storage-xxs.yml b/docker-compose-generator/docker-fragments/opt-save-storage-xxs.yml new file mode 100644 index 0000000..22fd776 --- /dev/null +++ b/docker-compose-generator/docker-fragments/opt-save-storage-xxs.yml @@ -0,0 +1,8 @@ +version: "3" + +services: + bitcoind: + environment: + # If you don't use Lightning Network, you want this + # This save about 2 weeks worth of block + BITCOIN_EXTRA_ARGS: prune=5000 \ No newline at end of file