btcpayserver/BTCPayServer.Tests/docker-litecoin-cli.sh

5 lines
243 B
Bash
Executable File

#!/bin/bash
litecoind_container_id="$(docker ps -q --filter label=com.docker.compose.project=btcpayservertests --filter label=com.docker.compose.service=litecoind)"
docker exec -ti "$litecoind_container_id" litecoin-cli -datadir="/data" "$@"