squeaknode/docker/docker-compose.yml
Jonathan Zernik 12f7b62349
Add toggle for connect with tor (#1550)
* Added use_tor option to peer address class and grpc message

* Got itest passing without tor

* Got peer connection working in UI with tor toggle

* Able to connect to with and without tor

* Got save peer working with tor and without tor

* Add use_tor field to peer address everywhere.

* Fix usage of useMemo in peer address page
2021-10-09 22:26:54 -07:00

89 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
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