mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-17 08:14:20 +01:00
Add utilities
This commit is contained in:
14
README.md
14
README.md
@@ -19,3 +19,17 @@ The [Production](Production) `docker-compose` is used for production environment
|
||||
The production `docker-compose` is used under the hood to deploy an instance of BTCPay on Microsoft Azure in one click:
|
||||
|
||||
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fbtcpayserver%2Fbtcpayserver-azure%2Fmaster%2Fazuredeploy.json)
|
||||
|
||||
# About accessing services inside those docker compose
|
||||
|
||||
Several scripts are provided to access the internal of your docker-service.
|
||||
|
||||
`litecoin-cli.sh` and `litecoin-cli.ps1` let you access your litecoin node CLI.
|
||||
|
||||
`bitcoin-cli.sh` and `bitcoin-cli.ps1` let you access your bitcoin node CLI.
|
||||
|
||||
You can use it easily:
|
||||
|
||||
```
|
||||
bitcoin-cli.sh getblockcount
|
||||
```
|
||||
1
bitcoin-cli.ps1
Executable file
1
bitcoin-cli.ps1
Executable file
@@ -0,0 +1 @@
|
||||
docker exec -ti btcpayserver_bitcoind bitcoin-cli -datadir="/data" $args
|
||||
3
bitcoin-cli.sh
Executable file
3
bitcoin-cli.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker exec -ti btcpayserver_bitcoind bitcoin-cli -datadir="/data" "$@"
|
||||
1
litecoin-cli.ps1
Executable file
1
litecoin-cli.ps1
Executable file
@@ -0,0 +1 @@
|
||||
docker exec -ti btcpayserver_litecoind litecoin-cli -datadir="/data" $args
|
||||
3
litecoin-cli.sh
Executable file
3
litecoin-cli.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker exec -ti btcpayserver_litecoind litecoin-cli -datadir="/data" "$@"
|
||||
Reference in New Issue
Block a user