diff --git a/Production-NoReverseProxy/README.md b/Production-NoReverseProxy/README.md index 3e67322..91ad71e 100644 --- a/Production-NoReverseProxy/README.md +++ b/Production-NoReverseProxy/README.md @@ -12,6 +12,7 @@ The relevant environment variables are: * `NBITCOIN_NETWORK`: the blockchain identifier used by NBitcoin (eg., `regtest`, `testnet`, `mainnet`) * `BTCPAY_HOST`: the external url used to access your server from internet. This domain name must point to this machine. * `BTCPAY_PROTOCOL`: the protocol used to access this website from the internet (valid values: `http` and `https`, default: `https`) +* `LIGHTNING_ALIAS`: Optional, if using the integrated lightning feature, customize the alias of your nodes The port `80` is exposed. diff --git a/Production-NoReverseProxy/docker-compose.btc-clightning.yml b/Production-NoReverseProxy/docker-compose.btc-clightning.yml index ff3c5ac..0ec20b5 100644 --- a/Production-NoReverseProxy/docker-compose.btc-clightning.yml +++ b/Production-NoReverseProxy/docker-compose.btc-clightning.yml @@ -74,6 +74,7 @@ services: bitcoin-rpcconnect=bitcoind ipaddr=${BTCPAY_HOST} network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=btc volumes: - "clightning_bitcoin_datadir:/root/.lightning" diff --git a/Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml b/Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml index 080fb7f..c2e5674 100644 --- a/Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml +++ b/Production-NoReverseProxy/docker-compose.btc-ltc-clightning.yml @@ -82,6 +82,7 @@ services: bitcoin-rpcconnect=litecoind ipaddr=${BTCPAY_HOST}:9736 network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=ltc volumes: - "clightning_litecoin_datadir:/root/.lightning" @@ -115,6 +116,7 @@ services: bitcoin-rpcconnect=bitcoind ipaddr=${BTCPAY_HOST} network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=btc volumes: - "clightning_bitcoin_datadir:/root/.lightning" diff --git a/Production-NoReverseProxy/docker-compose.ltc-clightning.yml b/Production-NoReverseProxy/docker-compose.ltc-clightning.yml index eaf5ea7..a7f42eb 100644 --- a/Production-NoReverseProxy/docker-compose.ltc-clightning.yml +++ b/Production-NoReverseProxy/docker-compose.ltc-clightning.yml @@ -74,6 +74,7 @@ services: bitcoin-rpcconnect=litecoind ipaddr=${BTCPAY_HOST}:9736 network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=ltc volumes: - "clightning_litecoin_datadir:/root/.lightning" diff --git a/Production/README.md b/Production/README.md index da18575..cfe30a1 100644 --- a/Production/README.md +++ b/Production/README.md @@ -21,6 +21,7 @@ The relevant environment variables are: * `BTCPAY_HOST`: the external url used to access the NGINX server from internet. This domain name must point to this machine for Let's Encrypt to create your certificate. (typically with a CNAME or A record) * `LETSENCRYPT_EMAIL`: The email Let's Encrypt will use to notify you about certificate expiration. * `ACME_CA_URI`: Let's encrypt API endpoint (`https://acme-staging.api.letsencrypt.org/directory` for a staging certificate, `https://acme-v01.api.letsencrypt.org/directory` for a production one) +* `LIGHTNING_ALIAS`: Optional, if using the integrated lightning feature, customize the alias of your nodes Use `docker-compose.btc-ltc.yml` for bitcoin and litecoin support, or `docker-compose.btc.yml` for only bitcoin. diff --git a/Production/docker-compose.btc-clightning.yml b/Production/docker-compose.btc-clightning.yml index 4b5492b..8ac6f5d 100644 --- a/Production/docker-compose.btc-clightning.yml +++ b/Production/docker-compose.btc-clightning.yml @@ -116,6 +116,7 @@ services: bitcoin-rpcconnect=bitcoind ipaddr=${BTCPAY_HOST} network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=btc volumes: - "clightning_bitcoin_datadir:/root/.lightning" diff --git a/Production/docker-compose.btc-ltc-clightning.yml b/Production/docker-compose.btc-ltc-clightning.yml index 3dd674d..6a16002 100644 --- a/Production/docker-compose.btc-ltc-clightning.yml +++ b/Production/docker-compose.btc-ltc-clightning.yml @@ -124,6 +124,7 @@ services: bitcoin-rpcconnect=litecoind ipaddr=${BTCPAY_HOST}:9736 network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=ltc volumes: - "clightning_litecoin_datadir:/root/.lightning" @@ -157,6 +158,7 @@ services: bitcoin-rpcconnect=bitcoind ipaddr=${BTCPAY_HOST} network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=btc volumes: - "clightning_bitcoin_datadir:/root/.lightning" diff --git a/Production/docker-compose.ltc-clightning.yml b/Production/docker-compose.ltc-clightning.yml index c4e6f8c..d2da770 100644 --- a/Production/docker-compose.ltc-clightning.yml +++ b/Production/docker-compose.ltc-clightning.yml @@ -116,6 +116,7 @@ services: bitcoin-rpcconnect=litecoind ipaddr=${BTCPAY_HOST}:9736 network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=ltc volumes: - "clightning_litecoin_datadir:/root/.lightning" diff --git a/docker-compose-generator/docker-fragments/bitcoin-clightning.yml b/docker-compose-generator/docker-fragments/bitcoin-clightning.yml index ab88983..c205d1d 100644 --- a/docker-compose-generator/docker-fragments/bitcoin-clightning.yml +++ b/docker-compose-generator/docker-fragments/bitcoin-clightning.yml @@ -11,6 +11,7 @@ services: bitcoin-rpcconnect=bitcoind ipaddr=${BTCPAY_HOST} network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=btc volumes: - "clightning_bitcoin_datadir:/root/.lightning" diff --git a/docker-compose-generator/docker-fragments/litecoin-clightning.yml b/docker-compose-generator/docker-fragments/litecoin-clightning.yml index e6666a5..3f43a03 100644 --- a/docker-compose-generator/docker-fragments/litecoin-clightning.yml +++ b/docker-compose-generator/docker-fragments/litecoin-clightning.yml @@ -11,6 +11,7 @@ services: bitcoin-rpcconnect=litecoind ipaddr=${BTCPAY_HOST}:9736 network=${NBITCOIN_NETWORK:-regtest} + alias=${LIGHTNING_ALIAS:-} chain=ltc volumes: - "clightning_litecoin_datadir:/root/.lightning"