If no bitcoin like currency is used, NBX shouldn't be deployed (#1041)

This commit is contained in:
Nicolas Dorier 2026-02-15 22:08:02 +09:00 committed by GitHub
parent 2536559731
commit 240cda561a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 37 additions and 5 deletions

View File

@ -102,7 +102,7 @@ Check out this video if you're interested in learning more about setting up [BTC
* `NOREVERSEPROXY_HTTP_PORT`: Optional, if not using a reverse proxy, specify which port should be opened for HTTP traffic. (default: 80)
* `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`. Default: `btc`)
* `BTCPAYGEN_CRYPTO1`: First supported crypto currency (eg. `btc`, `ltc`, `none`. Default: `btc`)
* `BTCPAYGEN_CRYPTO2`: Second supported crypto currency (eg. `btc`, `ltc`. Default: `(empty)`)
* `BTCPAYGEN_CRYPTON`: N'th supported crypto currency where N is 9 at maximum. (eg. `btc`, `ltc`. Default: `(empty)`)
* `BTCPAYGEN_REVERSEPROXY`: Specify reverse proxy to use; NGinx has HTTPS support. (eg. `nginx`, `traefik`, `(empty)`. Default: `nginx`)

View File

@ -29,3 +29,5 @@ services:
BTCPAY_BTGEXPLORERURL: http://nbxplorer:32838/
volumes:
bgold_datadir:
required:
- "nbxplorer"

View File

@ -44,3 +44,5 @@ exclusive:
- bitcoin-node
recommended:
- "opt-mempoolfullrbf"
required:
- "nbxplorer"

View File

@ -44,3 +44,5 @@ exclusive:
- bitcoin-node
recommended:
- "opt-mempoolfullrbf"
required:
- "nbxplorer"

View File

@ -33,3 +33,5 @@ services:
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoinplus_datadir:
required:
- "nbxplorer"

View File

@ -32,3 +32,5 @@ services:
volumes:
bitcore_datadir:
required:
- "nbxplorer"

View File

@ -10,7 +10,6 @@ services:
environment:
# BTCPay settings
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_ROOTPATH: ${BTCPAY_ROOTPATH:-/}
@ -21,6 +20,7 @@ services:
BTCPAY_DEBUGLOG: btcpay.log
BTCPAY_UPDATEURL: https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest
BTCPAY_DOCKERDEPLOYMENT: "true"
BTCPAY_NODEFAULTCHAIN: "true"
labels:
traefik.enable: "true"
traefik.http.routers.btcpayserver.rule: Host(`${BTCPAY_HOST}`)
@ -29,7 +29,6 @@ services:
- postgres
volumes:
- "btcpay_datadir:/datadir"
- "nbxplorer_datadir:/root/.nbxplorer"
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"
- "btcpay_pluginsdir:/root/.btcpayserver/Plugins"
@ -39,7 +38,6 @@ volumes:
required:
- "postgres"
- "nbxplorer"
- "btcpayserver"
recommended:
- "opt-add-tor"

View File

@ -34,3 +34,5 @@ services:
BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/
volumes:
dash_datadir:
required:
- "nbxplorer"

View File

@ -37,3 +37,5 @@ services:
BTCPAY_DOGEEXPLORERURL: http://nbxplorer:32838/
volumes:
dogecoin_datadir:
required:
- "nbxplorer"

View File

@ -29,3 +29,5 @@ services:
BTCPAY_FTCEXPLORERURL: http://nbxplorer:32838/
volumes:
feathercoin_datadir:
required:
- "nbxplorer"

View File

@ -37,3 +37,5 @@ services:
volumes:
groestlcoin_datadir:
groestlcoin_wallet_datadir:
required:
- "nbxplorer"

View File

@ -46,3 +46,5 @@ volumes:
recommended:
- "liquid-default-prune"
required:
- "nbxplorer"

View File

@ -34,4 +34,6 @@ services:
volumes:
litecoin_datadir:
litecoin_wallet_datadir:
litecoin_wallet_datadir:
required:
- "nbxplorer"

View File

@ -32,3 +32,5 @@ services:
volumes:
monacoin_datadir:
required:
- "nbxplorer"

View File

@ -19,5 +19,11 @@ services:
volumes:
- "nbxplorer_datadir:/datadir"
btcpayserver:
environment:
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-regtest}
volumes:
- "nbxplorer_datadir:/root/.nbxplorer"
volumes:
nbxplorer_datadir:

View File

@ -33,3 +33,5 @@ services:
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
volumes:
trezarcoin_datadir:
required:
- "nbxplorer"

View File

@ -29,3 +29,5 @@ services:
BTCPAY_VIAEXPLORERURL: http://nbxplorer:32838/
volumes:
viacoin_datadir:
required:
- "nbxplorer"