Browse Source

Update NBXplorer, add documentation about BTCPAY_PROTOCOL for local testing

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

5
Production-NoReverseProxy/README.md

@ -11,7 +11,10 @@ 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`)
The port `80` is exposed.
** Note that in order to successfully use the BTCPay API, you must still access to it from an HTTPS url `https://BTCPAY_HOST/`. **
Note that you need to set `BTCPAY_PROTOCOL=http` if you want to do some tests locally without https.
If you forget, you will get an error HTTP 400 when trying to register a new account on the website.

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -30,7 +30,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -34,7 +34,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -28,7 +28,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -27,7 +27,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -30,7 +30,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -9,7 +9,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -27,7 +27,7 @@ services:
- "80:49392"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -72,7 +72,7 @@ services:
- "clightning_bitcoin_datadir:/etc/clightning_bitcoin"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -76,7 +76,7 @@ services:
- "clightning_bitcoin_datadir:/etc/clightning_bitcoin"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -70,7 +70,7 @@ services:
- "nbxplorer_datadir:/root/.nbxplorer"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

4
Production/docker-compose.btc.yml

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -69,7 +69,7 @@ services:
- "nbxplorer_datadir:/root/.nbxplorer"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -72,7 +72,7 @@ services:
- "clightning_litecoin_datadir:/etc/clightning_litecoin"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

4
Production/docker-compose.ltc.yml

@ -53,7 +53,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
VIRTUAL_NETWORK: nginx-proxy
VIRTUAL_PORT: 49392
VIRTUAL_HOST: ${BTCPAY_HOST}
@ -69,7 +69,7 @@ services:
- "nbxplorer_datadir:/root/.nbxplorer"
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

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

@ -12,7 +12,7 @@ services:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_EXTERNALURL: https://${BTCPAY_HOST}/
BTCPAY_EXTERNALURL: ${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/
# NGINX settings
VIRTUAL_NETWORK: nginx-proxy
@ -32,7 +32,7 @@ services:
nbxplorer:
restart: always
image: nicolasdorier/nbxplorer:1.0.1.23
image: nicolasdorier/nbxplorer:1.0.1.24
expose:
- "32838"
environment:

Loading…
Cancel
Save