# Example btcq-electrs config for use with the docker compose example. # Copy to btcq-electrs.toml and replace rpc_pass before `docker compose up`. # rpc_pass must match btcq.conf's rpcpassword. [btcqd] # Connect to btcqd via the docker compose internal network. Service # name resolves via docker DNS. rpc_url = "http://btcqd:18443" rpc_user = "btcq" rpc_pass = "CHANGE_ME_BEFORE_DEPLOYING_PLEASE" # Subscribe to btcqd's ZMQ publisher for sub-second tip notifications. # Without this, electrs falls back to 1-second RPC polling. zmq_hashblock = "tcp://btcqd:28332" [index] db_path = "/var/lib/btcq-electrs/db" network = "testnet" reorg_depth = 100 [electrum] # 0.0.0.0 inside the container so the docker port-forward works. listen = "0.0.0.0:50001" [rest] listen = "0.0.0.0:4001" [logging] level = "info"