Running
With Docker
docker run -d lbryfoundation/lbcd
Or if you want to change some parameters:
docker run --entrypoint "lbcd --notls" -d lbryfoundation/lbcd
For all possible parameters, see doc.go. E.g., when changing the RPC credentials, use --rpcuser
and --rpcpass
.
With Docker Compose
Create a docker-compose.yml
file with this content:
version: "3"
volumes:
lbcd:
services:
lbcd:
image: lbry/lbcd:latest
restart: always
network_mode: host
command:
- "--notls"
- "--rpcuser=lbry"
- "--rpcpass=lbry"
- "--rpclisten=127.0.0.1"
volumes:
- "lbcd:/root/.lbcd"
ports:
- "127.0.0.1:9245:9245"
- "9246:9246" # p2p port
Then run:
docker-compose up -d