claffin / cloudproxy

Hide your scrapers IP behind the cloud. Provision proxy servers across different cloud providers to improve your scraping success.
https://cloudproxy.io/
MIT License
1.4k stars 79 forks source link

Can't change the default zone of GCP Proxies #56

Closed LuongPhuHoa closed 1 year ago

LuongPhuHoa commented 2 years ago

docker run -e USERNAME='xxx' -e PASSWORD='xxx' -e GCP_ENABLED=True -e GCP_PROJECT='xxx' -e GCP_SIZE='e2-micro' -e GCP_ZONE='asia-northeast3-a' -e GCP_SERVICE_ACCOUNT_KEY='xxx' -it -p 8000:8000 laffin/cloudproxy:latest

I tried this command but it always creates instances in the us default zone, I can't switch it to the different zone. Can you fix this ?

Thank you

AlexKrois commented 1 year ago

For anyone running into the same problem, the correct env variable would be GCP_REGION instead of GCP_ZONE :)

claffin commented 1 year ago

Thank you! I will update the documentation.