mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
* Other lnd container in docker-compose seems to work
* Add new docker-compose using btcd
* Fix external host config for docker-compose
* Remove btcctl container from docker-compose in docker dir
* Mount btcd rpc certs dir to host dir
* Revert "Mount btcd rpc certs dir to host dir"
This reverts commit a79246fb3c.
* Use bitcoin-core instead of btcd in docker-compose.btcd
* Got squeaknode connection and buy working from host machine to container
* Got host to container connection working in main docker-compose
* Remove old comments from docker-compose
* Make squeaknode container use persistent volume
* Add tor proxy to dockerfile
* Update development doc with containerized squeaknode info
* Remove docker-compose.btcd.yml
* Remove unused configs from docker config.ini
* Add zmq hash block port to docker config.ini
85 lines
1.8 KiB
YAML
85 lines
1.8 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
|
|
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
|
|
volumes:
|
|
- lnd_server_dir:/root/.lnd
|
|
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
|
|
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
|