diff --git a/docker-compose.yml b/docker-compose.yml index e0c4cbb..640ebc3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,7 +39,6 @@ services: image: lncm/bitcoind:v0.20.1 logging: *default-logging depends_on: [ tor, manager ] - command: "-zmqpubrawblock=tcp://0.0.0.0:28332 -zmqpubrawtx=tcp://0.0.0.0:28333" volumes: - ${PWD}/bitcoin:/data/.bitcoin restart: on-failure diff --git a/templates/bitcoin-sample.conf b/templates/bitcoin-sample.conf index 153a264..94ac724 100644 --- a/templates/bitcoin-sample.conf +++ b/templates/bitcoin-sample.conf @@ -17,3 +17,7 @@ dbcache= maxmempool=300 maxconnections=40 maxuploadtarget=1000 + +# zmq +zmqpubrawblock=tcp://0.0.0.0:28332 +zmqpubrawtx=tcp://0.0.0.0:28333