mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-01-13 03:14:27 +01:00
Add Config file to regtest docker
This commit is contained in:
@@ -6,6 +6,15 @@ It exposes BTCPay on the host address http://localhost:8080/.
|
||||
|
||||
It also exposes Bitcoin Core RPC which you can access through port 8081:
|
||||
|
||||
To access it, you can use:
|
||||
On Powershell:
|
||||
|
||||
```
|
||||
bitcoin-cli -regtest -rpcport=8081 -rpcpassword=DwubwWsoo3 -rpcuser=ceiwHEbqWI83 getblockcount
|
||||
bitcoin-cli -conf="$pwd/bitcoin.conf" getblockcount
|
||||
```
|
||||
|
||||
On Linux:
|
||||
|
||||
```
|
||||
bitcoin-cli -conf="$pwd/bitcoin.conf" getblockcount
|
||||
```
|
||||
4
Regtest/bitcoin.conf
Normal file
4
Regtest/bitcoin.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
regtest=1
|
||||
rpcport=8081
|
||||
rpcpassword=DwubwWsoo3
|
||||
rpcuser=ceiwHEbqWI83
|
||||
Reference in New Issue
Block a user