Sign inSign up

bitaps/litecoin

By bitaps

•Updated over 2 years ago

Litecoin server builds (no GUI, no wallet)

Image
1

1.7K

bitaps/litecoin repository overview

Builds: litecoin:latest - v0.16.3 litecoin:v0.16.3

How to use:

Create persistent volume for blockchain

$ docker volume create litecoin-data

Create Dockerfile

FROM bitaps/litecoin:latest RUN mkdir /data COPY litecoin.conf . ENTRYPOINT ["litecoind", "-conf=/litecoin.conf"]

Create litecoin.conf file in same folder

datadir=/data server=1 upnp=1 listen=1 txindex=1 printtoconsole=1 maxconnections=100 upnp=1 externalip=SERVER_IP bind=SERVER_IP:8333 rpcuser=USER_NAME rpcpassword=PASSWORD rpctimeout=30 rpcthreads=200 rpcallowip=RPC_ALLOWED_IP rpcallowip=RPC_ALLOWED_IP rpcbind=SERVER_IP:8332 rpcbind=127.0.0.1:8332 maxorphantx=1000 maxmempool=500 zmqpubhashblock=tcp://SERVER_IP:8900 zmqpubrawtx=tcp://SERVER_IP:8900

Build docker image:

$ sudo docker build -t litecoin-mainnet .

Start container with autostart

$ sudo docker run --name litecoin-mainnet --net=host --restart=always -v bitcoin-core-data:/data -it litecoin-mainnet

Tag summary

Content type

Image

Digest

Size

858.9 MB

Last updated

over 6 years ago

docker pull bitaps/litecoin