squeaknode/docker/docker-compose.yml
Jonathan Zernik 411f050c93
Got itest working with lnd using tor for both listen and connect (#1495)
* Got itest working with lnd using tor for both listen and connect

* Got itest working with configurable target address for lnd tor config

* Update development doc with tor service in background services
2021-10-04 18:33:16 -07:00

91 lines
1.9 KiB
YAML

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_client:
image: lnd
container_name: lnd_client
build:
context: ../
dockerfile: docker/lnd/Dockerfile
environment:
- NETWORK=testnet
- RPCHOST=bitcoin-core
- BACKEND=bitcoind
- TARGETHOST=lnd_client
volumes:
- ~/.lnd:/root/.lnd
ports:
- 10009:10009
links:
- "bitcoin-core:bitcoin-core"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-lnd.sh"]
lnd_server:
image: lnd
container_name: lnd_server
build:
context: ../
dockerfile: docker/lnd/Dockerfile
environment:
- NETWORK=testnet
- RPCHOST=bitcoin-core
- BACKEND=bitcoind
- TARGETHOST=lnd_server
volumes:
- lnd_server_dir:/root/.lnd
links:
- "bitcoin-core:bitcoin-core"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-lnd.sh"]
tor-privoxy:
restart: always
image: dockage/tor-privoxy:latest
tor-socks-proxy:
container_name: tor-socks-proxy
image: peterdavehello/tor-socks-proxy:latest
ports:
- 9150:9150
restart: unless-stopped
squeaknode:
image: squeaknode
container_name: squeaknode
build:
context: ../
dockerfile: Dockerfile
depends_on:
- "lnd_server"
volumes:
- lnd_server_dir:/root/.lnd
- squeaknode_dir:/root/.sqk
- ./config.ini:/config.ini
ports:
- 18557:18555
- 12995:12994
links:
- "bitcoin-core:bitcoin-core"
- "lnd_server:lnd"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
entrypoint: ["./start-squeaknode.sh"]
volumes:
lnd_server_dir:
driver: local
squeaknode_dir:
driver: local