{"id":19929080,"url":"https://github.com/thescriptguy/generate-url-requests-docker","last_synced_at":"2026-03-19T12:34:31.538Z","repository":{"id":203407607,"uuid":"709533949","full_name":"TheScriptGuy/generate-url-requests-docker","owner":"TheScriptGuy","description":"A docker container to generate URL requests.","archived":false,"fork":false,"pushed_at":"2023-11-09T05:46:06.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T11:18:53.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheScriptGuy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-24T21:54:44.000Z","updated_at":"2023-12-21T16:35:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"89f5d31e-4688-4a75-b6a9-2d6c2c417f23","html_url":"https://github.com/TheScriptGuy/generate-url-requests-docker","commit_stats":null,"previous_names":["thescriptguy/generate-url-requests-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheScriptGuy/generate-url-requests-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheScriptGuy%2Fgenerate-url-requests-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheScriptGuy%2Fgenerate-url-requests-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheScriptGuy%2Fgenerate-url-requests-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheScriptGuy%2Fgenerate-url-requests-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheScriptGuy","download_url":"https://codeload.github.com/TheScriptGuy/generate-url-requests-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheScriptGuy%2Fgenerate-url-requests-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30207393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T03:24:23.086Z","status":"ssl_error","status_checked_at":"2026-03-07T03:23:11.444Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T22:41:50.330Z","updated_at":"2026-03-07T04:02:53.813Z","avatar_url":"https://github.com/TheScriptGuy.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build and Configure Docker Image :whale:\n\nWelcome to the `generate-url-requests` Docker image building guide. This documentation will help you get started with building and configuring your Docker image with ease and precision. :sparkles:\n\n## Building the Docker Image :hammer_and_wrench:\n\nTo build the Docker image, execute the `build-image.sh` script. Before running the script, you can tweak a few variables to customize your Docker image.\n\n### Customizing Image Tag Variables :label:\n\n- **`$REPOSITORY`**: Set this variable if you have a Docker repository where you want to push the image. Leave it blank if you don’t have one.\n- **`$IMAGE_TAG_NAME`**: The name of your image. Default is `generate-url-requests`.\n- **`$IMAGE_TAG_VERSION`**: The version of your image. Default is `1.0`.\n\nExample:\n\n```bash\nREPOSITORY=\"\"\nIMAGE_TAG_NAME=\"generate-url-requests\"\nIMAGE_TAG_VERSION=\"1.0\"\n```\n\nIt's important to note that the `$IMAGE_TAG` is derived from `$REPOSITORY/$IMAGE_TAG_NAME:$IMAGE_TAG_VERSION`\n\n### Certificates :closed_lock_with_key:\n\nFor a successful build, Root CA certificates need to be installed into the `certs` directory. Make sure that the necessary `*.crt` files are present in this directory.\n\n## Dockerfile Configuration :page_with_curl:\n\nThe Dockerfile comes with several pre-configured settings that you can modify according to your requirements.\n\n### Environment Variables :gear:\n\n- **`$NUM_CONNECTIONS`**: Set the number of connections. Default is `100`.\n- **`$NUM_WORKERS`**: Set the number of workers. Default is `3`.\n\nTo override these values at runtime, use the Docker run command with the `-e` option.\n\nExample:\n\n```bash\ndocker run -e NUM_CONNECTIONS=5000 -e NUM_WORKERS=50 \u003cimage-name\u003e\n```\n\n## Allow insecure connections\nTo allow insecure connections to be established, add the --insecure command to the Dockerfile CMD line\n```\nCMD [\"sh\", \"-c\", \"python3 generate-requests.py $NUM_CONNECTIONS $NUM_WORKERS\"]\n```\nbecomes\n```\nCMD [\"sh\", \"-c\", \"python3 generate-requests.py $NUM_CONNECTIONS $NUM_WORKERS --insecure\"]\n```\n\n## Image Build Execution :rocket:\n\nNavigate to the directory containing the Dockerfile and `build-image.sh` script and execute the script.\n\n```bash\nchmod +x build-image.sh\n./build-image.sh\n```\n\nUpon successful execution, the Docker image will be built with the specified configurations.\n\n\n## Troubleshooting :warning:\n\n- Ensure the `certs` directory exists and contains the necessary `*.crt` or `*.pem` files.\n- Make sure the Dockerfile exists in the directory where you are running the `build-image.sh` script.\n\n\n## Warnings :warning:\n- Make sure that you are using some security device to filter traffic.\n- Your ISP might think you're infected based off the requests that are coming from home/corporate network.\n\n## Docker Container Run :rocket: :whale:\nTo create a sample docker container based off the image:\nTake note the `$IMAGE_TAG` that's defined above.\n\n\n```bash\ndocker run --rm \u003cimage-name\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthescriptguy%2Fgenerate-url-requests-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthescriptguy%2Fgenerate-url-requests-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthescriptguy%2Fgenerate-url-requests-docker/lists"}