Allow unset letsencrypt email
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user