alpine-tor | simple rotating tor pool with haproxy load balancer | Load Balancing library
kandi X-RAY | alpine-tor Summary
kandi X-RAY | alpine-tor Summary
Just a simple rotating tor pool with haproxy load balancer. (with opt-in privoxy support)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Stops the process .
- Start the process
- Convenience method to check for testing
- Ensure directories exist
- Starts the elapsed loop .
- Compile the config file
- Add a connection to the server .
- The name of the service instance .
- Return the executable for this service .
alpine-tor Key Features
alpine-tor Examples and Code Snippets
Community Discussions
Trending Discussions on alpine-tor
QUESTION
I am using docker-compose
to run multiple celery workers and struggling to make workers use this zeta0/alpine-tor
rotating proxy pool image the way I want.
Currently my docker-compose.yml
looks like this:
ANSWER
Answered 2020-Sep-30 at 19:12You could try running the worker
as 5 different docker-compose services(but all using the same worker
image), and also running the tor
service as 5 different docker-compose services(again, using the same tor
image).
For each of the 5 worker
services, you could pass in an environment variable indicating which tor
service you want the worker to communicate with. Then in your worker, you can use this environment variable in the tor
URL.
So your docker-compose.yml would look like this(some config removed for brevity):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install alpine-tor
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page