Run a Bitcoin Lightning Node docker compose style.
version: "3.3"
services:
btc:
network_mode: host
build: ./lightning-node/
volumes:
- ./btc-data:/root/.bitcoin
ln:
network_mode: host
build: ./lightning/
volumes:
- ./lightning-data:/root/.lightning/
- ./btc-data:/root/.bitcoin
- Simplicity is key - this setup requires no user setup!
- All images are built locally on your machine
- You can see the source code of the two repos used
- Bitcoin version 0.20.1 in use!
- Docker and Docker-Compose
- 200+ GB of drive space for btc-data
- Public IPv4 address
Should work on anything running Docker!
- Linux/Mac :
chmod +x run.sh ; ./run.sh
- Windows : Create
btc-data
andlightning-data
folders then rundocker-compose up -d