Add Lightning Watchtower TEOS + add zmq fragment (#320)
* Add Lightning Watchtower TEOS + add zmq fragment * add txindex requirement * update port * add zmqpubhashblock * update zmq port * expose port * Update opt-add-zmq.yml * update image * update local docker builder
This commit is contained in:
@@ -31,21 +31,11 @@ services:
|
||||
|
||||
btcpayserver:
|
||||
environment:
|
||||
BTCPAY_BTCLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoingold:8080/;macaroonfilepath=/etc/lnd_bitcoingold/admin.macaroon;allowinsecure=true"
|
||||
BTCPAY_BTGLIGHTNING: "type=lnd-rest;server=http://lnd_bitcoingold:8080/;macaroonfilepath=/etc/lnd_bitcoingold/admin.macaroon;allowinsecure=true"
|
||||
volumes:
|
||||
- "lnd_bitcoingold_datadir:/etc/lnd_bitcoingold"
|
||||
links:
|
||||
- lnd_bitcoingold
|
||||
|
||||
bgoldd:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawtx=tcp://0.0.0.0:28332
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtxlock=tcp://0.0.0.0:28332
|
||||
zmqpubhashblock=tcp://0.0.0.0:28332
|
||||
expose:
|
||||
- "28332"
|
||||
|
||||
nginx:
|
||||
links:
|
||||
@@ -59,4 +49,7 @@ services:
|
||||
- "lnd_bitcoingold_datadir:/lnd"
|
||||
|
||||
volumes:
|
||||
lnd_bitcoingold_datadir:
|
||||
lnd_bitcoingold_datadir:
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
@@ -4,10 +4,7 @@ services:
|
||||
bitcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtx=tcp://0.0.0.0:28333
|
||||
rpcauth=eclair:d3a244200d5c946f6bef48e6583ec979$$215049513aef33245dfec8ff3ab5e749458fde51ede931dec04c767c0732d468
|
||||
txindex=1
|
||||
eclair_bitcoin:
|
||||
container_name: btcpayserver_eclair_bitcoin
|
||||
restart: unless-stopped
|
||||
@@ -51,5 +48,9 @@ services:
|
||||
- eclair_bitcoin
|
||||
volumes:
|
||||
eclair_bitcoin_datadir:
|
||||
|
||||
incompatible:
|
||||
- pruning
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
- "opt-txindex"
|
||||
@@ -76,16 +76,11 @@ services:
|
||||
bitcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtx=tcp://0.0.0.0:28333
|
||||
# rpcuser=lnd
|
||||
# rpcpassword=afixedpasswordbecauselndsuckswithcookiefile
|
||||
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
|
||||
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
|
||||
rpcauth=lnd:d031f7567c5b02ba95524170e51c77f4$$827ce5412f653d6613c2f480e521eb437c866b999bdeb2ee4f9c41d3b00dff1c
|
||||
expose:
|
||||
- "28332"
|
||||
- "28333"
|
||||
|
||||
nginx:
|
||||
links:
|
||||
@@ -101,3 +96,6 @@ services:
|
||||
volumes:
|
||||
lnd_bitcoin_datadir:
|
||||
lnd_bitcoin_rtl_datadir:
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
@@ -4,10 +4,7 @@ services:
|
||||
groestlcoind:
|
||||
environment:
|
||||
GROESTLCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:21441
|
||||
zmqpubrawtx=tcp://0.0.0.0:21441
|
||||
rpcauth=eclair:d3a244200d5c946f6bef48e6583ec979$$215049513aef33245dfec8ff3ab5e749458fde51ede931dec04c767c0732d468
|
||||
txindex=1
|
||||
eclair_groestlcoin:
|
||||
container_name: btcpayserver_eclair_groestlcoin
|
||||
restart: unless-stopped
|
||||
@@ -51,5 +48,7 @@ services:
|
||||
- eclair_groestlcoin
|
||||
volumes:
|
||||
eclair_groestlcoin_datadir:
|
||||
incompatible:
|
||||
- pruning
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
- "opt-txindex"
|
||||
@@ -46,16 +46,6 @@ services:
|
||||
links:
|
||||
- lnd_groestlcoin
|
||||
|
||||
groestlcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawtx=tcp://0.0.0.0:21441
|
||||
zmqpubrawblock=tcp://0.0.0.0:21441
|
||||
zmqpubrawtxlock=tcp://0.0.0.0:21441
|
||||
zmqpubhashblock=tcp://0.0.0.0:21441
|
||||
expose:
|
||||
- "21441"
|
||||
|
||||
nginx:
|
||||
links:
|
||||
- "lnd_groestlcoin"
|
||||
@@ -69,3 +59,6 @@ services:
|
||||
|
||||
volumes:
|
||||
lnd_groestlcoin_datadir:
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
@@ -45,14 +45,8 @@ services:
|
||||
links:
|
||||
- lnd_litecoin
|
||||
|
||||
litecoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtx=tcp://0.0.0.0:28333
|
||||
expose:
|
||||
- "28332"
|
||||
- "28333"
|
||||
|
||||
volumes:
|
||||
lnd_litecoin_datadir:
|
||||
lnd_litecoin_datadir:
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
35
docker-compose-generator/docker-fragments/opt-add-teos.yml
Normal file
35
docker-compose-generator/docker-fragments/opt-add-teos.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
bitcoin_teos:
|
||||
restart: unless-stopped
|
||||
image: talaia/python-teos:latest
|
||||
environment:
|
||||
API_BIND: "0.0.0.0"
|
||||
API_PORT: 9814
|
||||
BTC_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||
BTC_RPC_CONNECT: "bitcoind"
|
||||
BTC_RPC_PORT: 43782
|
||||
BTC_RPC_USER: "teos"
|
||||
BTC_RPC_PASSWORD: "teos"
|
||||
BTC_FEED_CONNECT: "bitcoind"
|
||||
BTC_FEED_PORT: 28334
|
||||
volumes:
|
||||
- "bitcoin_teos_datadir:/root/.teos"
|
||||
ports:
|
||||
- "9814:9814"
|
||||
bitcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
# rpcuser=teos
|
||||
# rpcpassword=teos
|
||||
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
|
||||
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
|
||||
rpcauth=teos:504ff14fe34faa90e5bbe124e94be6a4$$bdac33da901ff27b4a27ca160cd706b2ba41d9e363556815cab5b7ef1e4dcf23
|
||||
volumes:
|
||||
bitcoin_teos_datadir:
|
||||
|
||||
required:
|
||||
- "opt-add-zmq"
|
||||
- "bitcoin"
|
||||
- "opt-txindex"
|
||||
@@ -159,6 +159,13 @@ services:
|
||||
HIDDENSERVICE_PORT: 50002
|
||||
HIDDENSERVICE_VIRTUAL_PORT: 50002
|
||||
|
||||
bitcoin_teos:
|
||||
environment:
|
||||
HIDDENSERVICE_NAME: teos
|
||||
HIDDENSERVICE_PORT: 9814
|
||||
volumes:
|
||||
- "tor_servicesdir:/var/lib/tor/hidden_services"
|
||||
- "tor_torrcdir:/usr/local/etc/tor/"
|
||||
volumes:
|
||||
tor_datadir:
|
||||
tor_torrcdir:
|
||||
|
||||
39
docker-compose-generator/docker-fragments/opt-add-zmq.yml
Normal file
39
docker-compose-generator/docker-fragments/opt-add-zmq.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
bitcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtx=tcp://0.0.0.0:28333
|
||||
zmqpubhashblock=tcp://0.0.0.0:28334
|
||||
expose:
|
||||
- "28332"
|
||||
- "28333"
|
||||
- "28334"
|
||||
litecoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtx=tcp://0.0.0.0:28333
|
||||
expose:
|
||||
- "28332"
|
||||
- "28333"
|
||||
groestlcoind:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawtx=tcp://0.0.0.0:21441
|
||||
zmqpubrawblock=tcp://0.0.0.0:21441
|
||||
zmqpubrawtxlock=tcp://0.0.0.0:21441
|
||||
zmqpubhashblock=tcp://0.0.0.0:21441
|
||||
expose:
|
||||
- "21441"
|
||||
bgoldd:
|
||||
environment:
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
zmqpubrawtx=tcp://0.0.0.0:28332
|
||||
zmqpubrawblock=tcp://0.0.0.0:28332
|
||||
zmqpubrawtxlock=tcp://0.0.0.0:28332
|
||||
zmqpubhashblock=tcp://0.0.0.0:28332
|
||||
expose:
|
||||
- "28332"
|
||||
Reference in New Issue
Block a user