2 changed files with 53 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||
# About this docker-compose |
|||
|
|||
This docker-compose shows how to configure postgres, bitcoind, NBXplorer and BTCPay. |
|||
It exposes BTCPay on the host address http://localhost:8080/. |
|||
It also exposes Bitcoin Core RPC which you can access through port 8081 `bitcoin-cli -regtest -rpcport=8081 -rpcpassword=DwubwWsoo3 -rpcuser=ceiwHEbqWI83 getblockcount`. |
@ -0,0 +1,48 @@ |
|||
version: "3" |
|||
|
|||
services: |
|||
|
|||
btcpayserver: |
|||
image: nicolasdorier/btcpayserver:1.0.0.2 |
|||
ports: |
|||
- 8080:49392 |
|||
expose: |
|||
- "49392" |
|||
environment: |
|||
BTCPAY_POSTGRES: "User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver" |
|||
BTCPAY_NETWORK: regtest |
|||
BTCPAY_EXPLORERURL: http://nbxplorer:32838/ |
|||
BTCPAY_BIND: 0.0.0.0:49392 |
|||
links: |
|||
- nbxplorer |
|||
- postgres |
|||
|
|||
nbxplorer: |
|||
image: nicolasdorier/nbxplorer:1.0.0.13 |
|||
expose: |
|||
- "32838" |
|||
environment: |
|||
NBXPLORER_NETWORK: regtest |
|||
NBXPLORER_RPCURL: http://bitcoind:43782/ |
|||
NBXPLORER_RPCUSER: ceiwHEbqWI83 |
|||
NBXPLORER_RPCPASSWORD: DwubwWsoo3 |
|||
NBXPLORER_NODEENDPOINT: bitcoind:8332 |
|||
NBXPLORER_BIND: 0.0.0.0:32838 |
|||
NBXPLORER_NOAUTH: 1 |
|||
links: |
|||
- bitcoind |
|||
|
|||
bitcoind: |
|||
image: nicolasdorier/bitcoin:0.15.0.1 |
|||
environment: |
|||
BITCOIN_EXTRA_ARGS: "regtest=1\nrpcport=43782\nport=8332" |
|||
BITCOIN_RPC_USER: ceiwHEbqWI83 |
|||
BITCOIN_RPC_PASSWORD: DwubwWsoo3 |
|||
ports: |
|||
- 8081:43782 |
|||
expose: |
|||
- "43782" |
|||
- "8332" |
|||
|
|||
postgres: |
|||
image: postgres:9.6.5 |
Loading…
Reference in new issue