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:
|
2022-06-09 17:58:18 -07: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:
|
2022-06-09 17:58:18 -07:00
|
|
|
- lnd_client_dir:/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"]
|
|
|
|
|
|
2022-05-08 12:41:44 -07:00
|
|
|
clightning_client:
|
|
|
|
|
image: elementsproject/lightningd:v0.11.0.1
|
|
|
|
|
container_name: clightning_client
|
|
|
|
|
expose:
|
|
|
|
|
- "9735"
|
|
|
|
|
- "19735"
|
|
|
|
|
- "9835"
|
|
|
|
|
- "10009"
|
|
|
|
|
ports:
|
|
|
|
|
- 10010:10009
|
|
|
|
|
- 9835:9835
|
|
|
|
|
volumes:
|
2022-06-09 17:58:18 -07:00
|
|
|
- clightning_client_dir:/root/.lightning
|
2022-05-08 12:41:44 -07:00
|
|
|
- tor-dir:/var/lib/tor
|
|
|
|
|
links:
|
|
|
|
|
- "bitcoin-core:bitcoin-core"
|
|
|
|
|
depends_on:
|
|
|
|
|
- "tor-node"
|
|
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
|
|
|
|
|
clightning_server:
|
|
|
|
|
image: elementsproject/lightningd:v0.11.0.1
|
|
|
|
|
container_name: clightning_server
|
|
|
|
|
expose:
|
|
|
|
|
- "9735"
|
|
|
|
|
- "19735"
|
|
|
|
|
- "9835"
|
|
|
|
|
- "10009"
|
|
|
|
|
volumes:
|
|
|
|
|
- clightning_server_dir:/root/.lightning
|
|
|
|
|
- tor-dir:/var/lib/tor
|
|
|
|
|
links:
|
|
|
|
|
- "bitcoin-core:bitcoin-core"
|
|
|
|
|
depends_on:
|
|
|
|
|
- "tor-node"
|
|
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
|
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
|
2022-04-25 16:32:31 -07:00
|
|
|
entrypoint: ["./entrypoint.sh"]
|
2021-10-04 15:12:45 -07:00
|
|
|
|
2022-05-08 12:41:44 -07:00
|
|
|
squeaknode_clightning:
|
|
|
|
|
image: squeaknode
|
|
|
|
|
container_name: squeaknode_clightning
|
|
|
|
|
build:
|
|
|
|
|
context: ../
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
depends_on:
|
|
|
|
|
- "lnd_server"
|
|
|
|
|
volumes:
|
|
|
|
|
- clightning_server_dir:/root/.lightning
|
|
|
|
|
- squeaknode_clightning_dir:/root/.sqk
|
|
|
|
|
- ./config-clightning.ini:/config.ini
|
|
|
|
|
ports:
|
|
|
|
|
- 18558:18555
|
|
|
|
|
- 12996:12994
|
|
|
|
|
links:
|
|
|
|
|
- "bitcoin-core:bitcoin-core"
|
|
|
|
|
- "lnd_server:lnd"
|
|
|
|
|
sysctls:
|
|
|
|
|
- net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
|
entrypoint: ["./entrypoint.sh"]
|
|
|
|
|
|
2021-10-04 15:12:45 -07:00
|
|
|
volumes:
|
2022-06-09 17:58:18 -07:00
|
|
|
bitcoin:
|
|
|
|
|
driver: local
|
|
|
|
|
lnd_client_dir:
|
|
|
|
|
driver: local
|
2021-10-04 15:12:45 -07:00
|
|
|
lnd_server_dir:
|
|
|
|
|
driver: local
|
2022-06-09 17:58:18 -07:00
|
|
|
clightning_client_dir:
|
|
|
|
|
driver: local
|
2022-05-08 12:41:44 -07:00
|
|
|
clightning_server_dir:
|
|
|
|
|
driver: local
|
2021-10-04 15:12:45 -07:00
|
|
|
squeaknode_dir:
|
|
|
|
|
driver: local
|
2022-05-08 12:41:44 -07:00
|
|
|
squeaknode_clightning_dir:
|
|
|
|
|
driver: local
|
2021-12-13 11:36:25 -08:00
|
|
|
tor-dir:
|
|
|
|
|
driver: local
|