mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Add utilities
This commit is contained in:
parent
dc8a005d04
commit
fa8d38d583
16
README.md
16
README.md
@ -18,4 +18,18 @@ 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)
|
||||
[](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" "$@"
|
Loading…
Reference in New Issue
Block a user