pull down to refresh
0 sats \ 1 reply \ @5b104d62ff 11h \ on: Clearnet+Tor LND in Docker with wireguard VPS for privacy lightning
Where’s the Bitcoind part?
I have a huge compose with all the stack: bitcoind, electrs, mempool, lnd, ... Maybe I can create another guide about that. For now here you go:
services:
bitcoind:
image: lncm/bitcoind:v28.0@sha256:1d335a5adbfac6d66cee20b62b339385819dc75f8cb60c6c5773922cec4c25ef
container_name: bitcoind
user: "1000:1000"
volumes:
- /flash/bitcoin/data/:/data/.bitcoin
- /data/bitcoin/conf/bitcoin.conf:/data/.bitcoin/bitcoin.conf:ro
- /data/tor/bitcoind/run:/var/run/tor
ports:
- "8333:8333" # P2P network port
- "28333:28333" # ZMQ tx
- "28332:28332" # ZMQ block
deploy:
resources:
limits:
cpus: 8
memory: 20G
restart: always
networks:
- bitcoind
tor-bitcoind:
image: ghcr.io/m0wer/docker-tor:latest
user: "1000:1000"
volumes:
- /data/tor/bitcoin/conf:/etc/tor:ro
- /data/tor/bitcoin/data:/var/lib/tor
- /data/tor/bitcoin/run:/var/run/tor
deploy:
resources:
limits:
cpus: 2
memory: 300M
restart: always
networks:
- bitcoind
depends_on:
- bitcoind
reply