Deploy on Docker
- Pull the Docker image:
docker pull ghcr.io/shocknet/lightning-pub:latest
- Run the Docker container:
docker run -d \
--name lightning-pub \
--network host \
-p 1776:1776 \
-p 1777:1777 \
-v /path/to/local/data:/app/data \
-v $HOME/.lnd:/root/.lnd \
ghcr.io/shocknet/lightning-pub:latest
Network host is used so the service can reach a local LND via localhost. LND is assumed to be under the users home folder, update these resources as needed.