{"id":28827997,"url":"https://github.com/evalece/quick_toxyproxy","last_synced_at":"2026-01-31T13:09:27.524Z","repository":{"id":299497064,"uuid":"1003233106","full_name":"evalece/Quick_ToxyProxy","owner":"evalece","description":"A quick guide to deploy Shopify's ToxyProxy via Docker. Credit for ToxyProxy by Shopify: https://github.com/Shopify/toxiproxy","archived":false,"fork":false,"pushed_at":"2025-06-16T20:53:31.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-16T21:41:07.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evalece.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-16T20:41:36.000Z","updated_at":"2025-06-16T20:53:35.000Z","dependencies_parsed_at":"2025-06-16T21:41:13.606Z","dependency_job_id":"97fe097a-3bdd-4126-a807-314bb3f503bf","html_url":"https://github.com/evalece/Quick_ToxyProxy","commit_stats":null,"previous_names":["evalece/quick_toxyproxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evalece/Quick_ToxyProxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalece%2FQuick_ToxyProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalece%2FQuick_ToxyProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalece%2FQuick_ToxyProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalece%2FQuick_ToxyProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evalece","download_url":"https://codeload.github.com/evalece/Quick_ToxyProxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evalece%2FQuick_ToxyProxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28944023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T13:02:32.153Z","status":"ssl_error","status_checked_at":"2026-01-31T13:00:07.528Z","response_time":128,"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":"2025-06-19T04:44:00.114Z","updated_at":"2026-01-31T13:09:27.519Z","avatar_url":"https://github.com/evalece.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Quick Guide To Deploy Shopify's ToxyProxy via Docker. \n\n## Steps (using Docker )\n1. Install Toxy CLI \n```bash\n docker pull ghcr.io/shopify/toxiproxy\n\n```\n\n2. Configure External network binding for Toxy container using TOXIPROXY_HOST\n```bash\ndocker run --rm -it \\\n  -e TOXIPROXY_HOST=0.0.0.0 \\\n  -p 8474:8474 \\\n  ghcr.io/shopify/toxiproxy\n ```\n\ndouble check if this returns lines containing ` \"level\":\"info\",\"address\":\"0.0.0.0:8474\",\"caller\":\"api.go:57\",\"time\":\"2025-06-16T00:50:00Z\",\"message\":\"Starting Toxiproxy HTTP server\"} `\n\n\n3. Two options for configuring proxy\n    - Polulating ToxiProxy via -config or mounting to config/toxiproxy.json use [1] format\n    - Via Toxy CLI, see example in [1]\n\n\n\n## Helpers\n\n1. Docker rebuild\n```bash\ndocker-compose down -v\ndocker-compose up --build --force-recreate\n```\n\n2. Quick note, to display list of proxy via CLI:\n\n```bash \ntoxiproxy-cli --host=localhost:8474 list  \n```\n3. To check if Toxic has been applied:\n\n```bash \ncurl http://localhost:8474/proxies \n```\n\n4. Toxic must be applied through HTTP method:\n\n```bash \ncurl -X POST http://localhost:8474/proxies/redis_proxy/toxics \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"name\": \"latency_sim\",\n    \"type\": \"latency\",\n    \"stream\": \"upstream\",\n    \"toxicity\": 1.0,\n    \"attributes\": {\n      \"latency\": 5000\n\n    }\n  }'\n\n\n```\n\n5. Optionally, run client and proxy+ Redis in two seperated docker compose \n\n## Reference \n[1] Shopify, “GitHub - Shopify/toxiproxy: :alarm_clock: A TCP proxy to simulate network and system conditions for chaos and resiliency testing,” GitHub. https://github.com/Shopify/toxiproxy?tab=readme-ov-file#cli-example\n\nCredit for ToxyProxy by Shopify: https://github.com/Shopify/toxiproxy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevalece%2Fquick_toxyproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevalece%2Fquick_toxyproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevalece%2Fquick_toxyproxy/lists"}