squeaknode/docker/docker-compose.yml

33 lines
654 B
YAML
Raw Normal View History

version: '3'
services:
bitcoin-core:
image: ruimarinho/bitcoin-core:0.21.1
container_name: bitcoin-core
volumes:
- ~/.bitcoin:/home/bitcoin/.bitcoin
ports:
- 8332:8332
- 18332:18332
- 28334:28334
lnd:
2020-06-22 13:55:20 -07:00
image: lnd
container_name: lnd
2020-06-22 13:55:20 -07:00
build:
context: ../
dockerfile: docker/lnd/Dockerfile
environment:
- RPCHOST=bitcoin-core
- BACKEND=bitcoind
2020-06-22 13:55:20 -07:00
volumes:
- ~/.lnd:/root/.lnd:rw
ports:
- 9735:9735
- 10009:10009
links:
- "bitcoin-core:bitcoin-core"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-lnd.sh"]