different database per chain

This commit is contained in:
nicolas.dorier 2017-12-18 01:53:31 +09:00
parent 3344d70a43
commit a237a23944

View File

@ -56,7 +56,7 @@ services:
- "49392"
environment:
# BTCPay settings
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK-regtest}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK-regtest}
BTCPAY_EXPLORERURL: http://nbxplorer:32838/
BTCPAY_BIND: 0.0.0.0:49392