2020-03-01 00:15:24 -08:00
|
|
|
version: '3'
|
|
|
|
|
services:
|
|
|
|
|
|
2020-11-23 14:43:17 -05:00
|
|
|
bitcoin-core:
|
2021-09-16 15:44:22 -07:00
|
|
|
image: ruimarinho/bitcoin-core:0.21.1
|
2020-11-23 14:43:17 -05:00
|
|
|
container_name: bitcoin-core
|
2020-07-21 20:48:52 -07:00
|
|
|
volumes:
|
2020-11-23 14:43:17 -05:00
|
|
|
- ~/.bitcoin:/home/bitcoin/.bitcoin
|
2020-12-27 20:55:52 -08:00
|
|
|
ports:
|
|
|
|
|
- 8332:8332
|
|
|
|
|
- 18332:18332
|
2021-09-01 06:06:11 -07:00
|
|
|
- 28334:28334
|
2020-07-21 20:48:52 -07:00
|
|
|
|
2021-10-04 15:12:45 -07:00
|
|
|
lnd_client:
|
2020-06-22 13:55:20 -07:00
|
|
|
image: lnd
|
2021-10-04 15:12:45 -07:00
|
|
|
container_name: lnd_client
|
2020-06-22 13:55:20 -07:00
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: docker/lnd/Dockerfile
|
|
|
|
|
environment:
|
2021-10-04 15:12:45 -07:00
|
|
|
- NETWORK=testnet
|
2020-11-23 14:43:17 -05:00
|
|
|
- RPCHOST=bitcoin-core
|
|
|
|
|
- BACKEND=bitcoind
|
2021-10-04 18:33:16 -07:00
|
|
|
- TARGETHOST=lnd_client
|
2021-12-13 11:36:25 -08:00
|
|
|
depends_on:
|
|
|
|
|
- "tor-node"
|
2020-06-22 13:55:20 -07:00
|
|
|
volumes:
|
2021-10-04 15:12:45 -07:00
|
|
|
- ~/.lnd:/root/.lnd
|
2021-12-13 11:36:25 -08:00
|
|
|
- tor-dir:/var/lib/tor
|
2020-10-28 15:58:19 -04:00
|
|
|
ports:
|
2020-12-27 20:55:52 -08:00
|
|
|
- 10009:10009
|
2020-07-21 20:48:52 -07:00
|
|
|
links:
|
2020-11-23 14:43:17 -05:00
|
|
|
- "bitcoin-core:bitcoin-core"
|
2020-09-27 14:54:34 -07:00
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
entrypoint: ["./start-lnd.sh"]
|
2021-09-18 19:00:04 -07:00
|
|
|
|
2021-10-04 15:12:45 -07:00
|
|
|
lnd_server:
|
|
|
|
|
image: lnd
|
|
|
|
|
container_name: lnd_server
|
|
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: docker/lnd/Dockerfile
|
|
|
|
|
environment:
|
|
|
|
|
- NETWORK=testnet
|
|
|
|
|
- RPCHOST=bitcoin-core
|
|
|
|
|
- BACKEND=bitcoind
|
2021-10-04 18:33:16 -07:00
|
|
|
- TARGETHOST=lnd_server
|
2021-12-13 11:36:25 -08:00
|
|
|
depends_on:
|
|
|
|
|
- "tor-node"
|
2021-10-04 15:12:45 -07:00
|
|
|
volumes:
|
|
|
|
|
- lnd_server_dir:/root/.lnd
|
2021-12-13 11:36:25 -08:00
|
|
|
- tor-dir:/var/lib/tor
|
2021-10-04 15:12:45 -07:00
|
|
|
links:
|
|
|
|
|
- "bitcoin-core:bitcoin-core"
|
|
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
entrypoint: ["./start-lnd.sh"]
|
|
|
|
|
|
2021-12-13 11:36:25 -08:00
|
|
|
tor-node:
|
|
|
|
|
image: osminogin/tor-simple
|
|
|
|
|
container_name: tor-node
|
2021-10-04 18:33:16 -07:00
|
|
|
restart: always
|
2021-12-13 11:36:25 -08:00
|
|
|
expose:
|
|
|
|
|
- "9051"
|
|
|
|
|
volumes:
|
|
|
|
|
- ../torrc:/etc/tor/torrc:ro
|
|
|
|
|
- tor-dir:/var/lib/tor
|
2021-09-29 22:47:39 -07:00
|
|
|
|
|
|
|
|
squeaknode:
|
|
|
|
|
image: squeaknode
|
2021-10-04 15:12:45 -07:00
|
|
|
container_name: squeaknode
|
2021-09-29 22:47:39 -07:00
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: Dockerfile
|
2021-10-04 15:12:45 -07:00
|
|
|
depends_on:
|
|
|
|
|
- "lnd_server"
|
2021-09-29 22:47:39 -07:00
|
|
|
volumes:
|
2021-10-04 15:12:45 -07:00
|
|
|
- lnd_server_dir:/root/.lnd
|
|
|
|
|
- squeaknode_dir:/root/.sqk
|
2021-09-29 22:47:39 -07:00
|
|
|
- ./config.ini:/config.ini
|
|
|
|
|
ports:
|
|
|
|
|
- 18557:18555
|
2021-10-04 15:12:45 -07:00
|
|
|
- 12995:12994
|
2021-09-29 22:47:39 -07:00
|
|
|
links:
|
|
|
|
|
- "bitcoin-core:bitcoin-core"
|
2021-10-04 15:12:45 -07:00
|
|
|
- "lnd_server:lnd"
|
2021-09-29 22:47:39 -07:00
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
entrypoint: ["./start-squeaknode.sh"]
|
2021-10-04 15:12:45 -07:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
lnd_server_dir:
|
|
|
|
|
driver: local
|
|
|
|
|
squeaknode_dir:
|
|
|
|
|
driver: local
|
2021-12-13 11:36:25 -08:00
|
|
|
tor-dir:
|
|
|
|
|
driver: local
|