Browse Source

Allow unset letsencrypt email

migrate-pregen
nicolas.dorier 7 years ago
parent
commit
69c1110a9d
  1. 2
      Production-NoReverseProxy/docker-compose.btc-clightning.yml
  2. 2
      Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml
  3. 2
      Production-NoReverseProxy/docker-compose.btc-ltc.yml
  4. 2
      Production-NoReverseProxy/docker-compose.btc.yml
  5. 2
      Production-NoReverseProxy/docker-compose.ltc-clightning.yml
  6. 2
      Production-NoReverseProxy/docker-compose.ltc.yml
  7. 2
      Production/docker-compose.btc-clightning.yml
  8. 2
      Production/docker-compose.btc-ltc-clightning.yml
  9. 2
      Production/docker-compose.btc-ltc.yml
  10. 2
      Production/docker-compose.btc.yml
  11. 2
      Production/docker-compose.ltc-clightning.yml
  12. 2
      Production/docker-compose.ltc.yml
  13. 6
      btcpay-setup.sh
  14. 2
      docker-compose-generator/docker-fragments/btcpayserver.yml

2
Production-NoReverseProxy/docker-compose.btc-clightning.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_BTCLIGHTNING: "/etc/clightning_bitcoin/lightning-rpc"

2
Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc,btc"
BTCPAY_LTCLIGHTNING: "/etc/clightning_litecoin/lightning-rpc"

2
Production-NoReverseProxy/docker-compose.btc-ltc.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc,btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/

2
Production-NoReverseProxy/docker-compose.btc.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
links:

2
Production-NoReverseProxy/docker-compose.ltc-clightning.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc"
BTCPAY_LTCLIGHTNING: "/etc/clightning_litecoin/lightning-rpc"

2
Production-NoReverseProxy/docker-compose.ltc.yml

@ -16,7 +16,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc"
links:

2
Production/docker-compose.btc-clightning.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_BTCLIGHTNING: "/etc/clightning_bitcoin/lightning-rpc"

2
Production/docker-compose.btc-ltc-clightning.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc,btc"
BTCPAY_LTCLIGHTNING: "/etc/clightning_litecoin/lightning-rpc"

2
Production/docker-compose.btc-ltc.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc,btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/

2
Production/docker-compose.btc.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_CHAINS: "btc"
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
links:

2
Production/docker-compose.ltc-clightning.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc"
BTCPAY_LTCLIGHTNING: "/etc/clightning_litecoin/lightning-rpc"

2
Production/docker-compose.ltc.yml

@ -60,7 +60,7 @@ services:
VIRTUAL_HOST: ${BTCPAY_HOST}
SSL_POLICY: Mozilla-Modern
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
BTCPAY_LTCEXPLORERURL: http://nbxplorer:32838/
BTCPAY_CHAINS: "ltc"
links:

6
btcpay-setup.sh

@ -49,7 +49,7 @@ This will be used to properly setup HTTPS via let's encrypt.
Environment variables:
BTCPAY_HOST: The hostname of your website (eg. btcpay.example.com)
LETSENCRYPT_EMAIL: A mail will be sent to this address if certificate expires and fail to renew automatically (eg. me@example.com, Default:me@example.com)
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)
@ -119,7 +119,9 @@ if [ ! -z $BTCPAY_DOCKER_COMPOSE ] && [ ! -z $DOWNLOAD_ROOT ] && [ -z $BTCPAYGEN
fi
#########################################################
: "${LETSENCRYPT_EMAIL:=me@example.com}"
[[ $LETSENCRYPT_EMAIL == *@example.com ]] && echo "LETSENCRYPT_EMAIL ends with @example.com, setting to empty email instead" && LETSENCRYPT_EMAIL=""
: "${LETSENCRYPT_EMAIL:=}"
: "${BTCPAYGEN_OLD_PREGEN:=false}"
: "${NBITCOIN_NETWORK:=mainnet}"
: "${BTCPAYGEN_CRYPTO1:=btc}"

2
docker-compose-generator/docker-fragments/btcpayserver.yml

@ -23,7 +23,7 @@ services:
# Let's encrypt settings
LETSENCRYPT_HOST: ${BTCPAY_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-yourname@example.com}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL:-<no value>}
links:
- nbxplorer

Loading…
Cancel
Save