stableway / anmeldung-berlin

This app will find and book any service.berlin.de appointment that can be booked online.
MIT License
112 stars 17 forks source link

Add support for Tor proxies using docker compose #29

Closed oleander closed 2 months ago

oleander commented 5 months ago

Hi guys,

This PR adds a Docker Compose configuration for running the bot through a Tor proxy. The Tor proxy rotates its IP address every 60 seconds and uses Germany as its exit point, reducing the risk of being blocked. Some minor adjustments were necessary for compatibility with the proxy:

Changes Made

Additional Information

The Tor server may take up to 60 seconds to initialize and build its cache on the first run.

Setup Instructions

  1. Extract stealth evasions:

    npx extract-stealth-evasions
  2. Copy and edit the environment variables file:

    cp .env.example .env
    # Then edit .env with your preferred settings
  3. Build and start the Docker Compose setup:

    docker compose up --build

Let me know if you have any questions!

daniel-cortez-stevenson commented 5 months ago

Looks like something I'd do ;) I'll have a look.

oleander commented 5 months ago

I'm happy to help if are experiencing any problems.