btcpayserver/BTCPayServer.Tests/docker-merchant-lightning-cli.ps1

3 lines
282 B
PowerShell
Raw Permalink Normal View History

$merchant_lightning_container_id=$(docker ps -q --filter label=com.docker.compose.project=btcpayservertests --filter label=com.docker.compose.service=merchant_lightningd)
docker exec -ti $merchant_lightning_container_id lightning-cli --rpc-file=/root/.lightning/lightning-rpc $args