docker-bitcoind
docker-bitcoind copied to clipboard
Feature Request: Be able to connect only through TOR
It would be really nice to be able to activate TOR traffic only on bitcoin.conf and the container to have the dependencies pre-installed and ready to route all the traffic through TOR.
You can already control this through bitcoin.conf
I just tried to add a simple tor routing to bitcoin.conf but there is no tor dependency installed inside the container.
proxy=127.0.0.1:9050
listen=1
bind=127.0.0.1
The idea would be to have a tor only node.
@olwe1 , you can't "mix" things... if you want to use TOR, you have to use another container.
Include this into your docker-compose.yaml file:
tor: container_name: tor image: lncm/tor user: toruser restart: unless-stopped healthcheck: test: ["CMD-SHELL","tor-resolve www.tor.org 10.21.21.11:9050"] interval: 1m timeout: 15s retries: 5 volumes: - /data/tor/torrc:/etc/tor/torrc - /data/tor/data:/var/lib/tor/ - /data/tor/run:/var/run/tor/ ports: - "9050:9050" - "127.0.0.1:9051:9051" networks: default: ipv4_address: 10.21.21.11