alpine-tor | tor on alpine linux on docker | Continuous Deployment library
kandi X-RAY | alpine-tor Summary
kandi X-RAY | alpine-tor Summary
Just latest tor on alpine-edge in Docker.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of alpine-tor
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
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