Can configure network through env variable
This commit is contained in:
@@ -57,7 +57,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
# BTCPay settings
|
# BTCPay settings
|
||||||
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver
|
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver
|
||||||
BTCPAY_NETWORK: regtest
|
BTCPAY_NETWORK: ${NBITCOIN_NETWORK-regtest}
|
||||||
BTCPAY_EXPLORERURL: http://nbxplorer:32838/
|
BTCPAY_EXPLORERURL: http://nbxplorer:32838/
|
||||||
BTCPAY_BIND: 0.0.0.0:49392
|
BTCPAY_BIND: 0.0.0.0:49392
|
||||||
BTCPAY_INTERNALURL: http://btcpayserver:49392/
|
BTCPAY_INTERNALURL: http://btcpayserver:49392/
|
||||||
@@ -83,9 +83,9 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "32838"
|
- "32838"
|
||||||
environment:
|
environment:
|
||||||
NBXPLORER_NETWORK: regtest
|
NBXPLORER_NETWORK: ${NBITCOIN_NETWORK-regtest}
|
||||||
NBXPLORER_RPCURL: http://bitcoind:43782/
|
NBXPLORER_RPCURL: http://bitcoind:43782/
|
||||||
NBXPLORER_RPCCOOKIEFILE: /btc/regtest/.cookie
|
NBXPLORER_RPCCOOKIEFILE: /btc/${BITCOIND_COOKIEFILE-regtest/.cookie}
|
||||||
NBXPLORER_NODEENDPOINT: bitcoind:39388
|
NBXPLORER_NODEENDPOINT: bitcoind:39388
|
||||||
NBXPLORER_BIND: 0.0.0.0:32838
|
NBXPLORER_BIND: 0.0.0.0:32838
|
||||||
NBXPLORER_NOAUTH: 1
|
NBXPLORER_NOAUTH: 1
|
||||||
@@ -97,12 +97,12 @@ services:
|
|||||||
|
|
||||||
bitcoind:
|
bitcoind:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: btcpayserver_regtest_bitcoind
|
container_name: btcpayserver_bitcoind
|
||||||
image: nicolasdorier/docker-bitcoin:0.15.0.1
|
image: nicolasdorier/docker-bitcoin:0.15.0.1
|
||||||
environment:
|
environment:
|
||||||
BITCOIN_EXTRA_ARGS: |
|
BITCOIN_EXTRA_ARGS: |
|
||||||
rpcport=43782
|
rpcport=43782
|
||||||
regtest=1
|
${BITCOIND_NETWORKPARAMETER-regtest=1}
|
||||||
port=39388
|
port=39388
|
||||||
whitelist=0.0.0.0/0
|
whitelist=0.0.0.0/0
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
Reference in New Issue
Block a user