hator
doesn't hate.
hator
distributes your HTTP requests into tor network via HAProxy
.
Create a swarm manager:
docker swarm init
Or join to other docker swarm as a node:
docker swarm join --token <token> <ip:port>
docker stack deploy --compose-file=docker-compose.yml hator
hator_lb
and hator_tor
should be listed in:
docker service ls
To see hator
tasks:
docker service ps hator
To see the statistics report for HAProxy, open your browser and visit:
Default username: stats
Default password: stats
docker service scale hator_tor=<num_you_want>
curl --socks5 localhost:9050 api.ipify.org