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_for_host: image: lnd container_name: lnd_for_host build: context: ../ dockerfile: docker/lnd/Dockerfile environment: - RPCHOST=bitcoin-core - BACKEND=bitcoind 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"] lnd_for_container: image: lnd container_name: lnd_for_container build: context: ../ dockerfile: docker/lnd/Dockerfile environment: - RPCHOST=bitcoin-core - BACKEND=bitcoind volumes: - lnd_for_container_dir:/root/.lnd ports: - 9736:9735 links: - "bitcoin-core:bitcoin-core" sysctls: - net.ipv6.conf.all.disable_ipv6=0 entrypoint: ["./start-lnd.sh"] tor-socks-proxy: container_name: tor-socks-proxy image: peterdavehello/tor-socks-proxy:latest restart: unless-stopped squeaknode: image: squeaknode build: context: ../ dockerfile: Dockerfile volumes: - lnd_for_container_dir:/root/.lnd - ./config.ini:/config.ini ports: - 12995:12994 - 8557:8555 - 18557:18555 links: - "bitcoin-core:bitcoin-core" - "lnd_for_container:lnd" sysctls: - net.ipv6.conf.all.disable_ipv6=0 entrypoint: ["./start-squeaknode.sh"] volumes: # lnd_dir volume is needed for sharing the tls certificate lnd_for_container_dir: driver: local # # postgres db data # squeaknode_pgdata: # driver: local