{"id":13453391,"url":"https://github.com/ciiiii/cloudflare-docker-proxy","last_synced_at":"2025-05-13T21:04:08.431Z","repository":{"id":103101908,"uuid":"472464387","full_name":"ciiiii/cloudflare-docker-proxy","owner":"ciiiii","description":" A docker registry proxy run on cloudflare worker.","archived":false,"fork":false,"pushed_at":"2025-02-17T00:14:26.000Z","size":75,"stargazers_count":1725,"open_issues_count":9,"forks_count":3388,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-28T13:58:42.670Z","etag":null,"topics":["cloudflare-worker","docker-registry","proxy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ciiiii.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}},"created_at":"2022-03-21T18:32:27.000Z","updated_at":"2025-04-28T05:46:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7cc5cd5-d1e9-4e5e-a314-a3b12a33e2e2","html_url":"https://github.com/ciiiii/cloudflare-docker-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciiiii%2Fcloudflare-docker-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciiiii%2Fcloudflare-docker-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciiiii%2Fcloudflare-docker-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciiiii%2Fcloudflare-docker-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciiiii","download_url":"https://codeload.github.com/ciiiii/cloudflare-docker-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028269,"owners_count":22002215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cloudflare-worker","docker-registry","proxy"],"created_at":"2024-07-31T08:00:39.232Z","updated_at":"2025-05-13T21:04:08.382Z","avatar_url":"https://github.com/ciiiii.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","🚀 隧道、代理与加速","Beschleunigung"],"sub_categories":[],"readme":"# cloudflare-docker-proxy\n\n![deploy](https://github.com/ciiiii/cloudflare-docker-proxy/actions/workflows/deploy.yaml/badge.svg)\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ciiiii/cloudflare-docker-proxy)\n\n\u003e If you're looking for proxy for helm, maybe you can try [cloudflare-helm-proxy](https://github.com/ciiiii/cloudflare-helm-proxy).\n\n## Deploy\n\n1. click the \"Deploy With Workers\" button\n2. follow the instructions to fork and deploy\n3. update routes as you requirement\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ciiiii/cloudflare-docker-proxy)\n\n## Routes configuration tutorial\n\n1. use cloudflare worker host: only support proxy one registry\n   ```javascript\n   const routes = {\n     \"${workername}.${username}.workers.dev/\": \"https://registry-1.docker.io\",\n   };\n   ```\n2. use custom domain: support proxy multiple registries route by host\n   - host your domain DNS on cloudflare\n   - add `A` record of xxx.example.com to `192.0.2.1`\n   - deploy this project to cloudflare workers\n   - add `xxx.example.com/*` to HTTP routes of workers\n   - add more records and modify the config as you need\n   ```javascript\n   const routes = {\n     \"docker.libcuda.so\": \"https://registry-1.docker.io\",\n     \"quay.libcuda.so\": \"https://quay.io\",\n     \"gcr.libcuda.so\": \"https://k8s.gcr.io\",\n     \"k8s-gcr.libcuda.so\": \"https://k8s.gcr.io\",\n     \"ghcr.libcuda.so\": \"https://ghcr.io\",\n   };\n   ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciiiii%2Fcloudflare-docker-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciiiii%2Fcloudflare-docker-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciiiii%2Fcloudflare-docker-proxy/lists"}