{"id":40662370,"url":"https://github.com/backplane/registryproxy","last_synced_at":"2026-01-21T09:03:18.431Z","repository":{"id":237664156,"uuid":"794990662","full_name":"backplane/registryproxy","owner":"backplane","description":"registryproxy, a reverse proxy for Docker registries","archived":false,"fork":false,"pushed_at":"2025-03-31T09:55:33.000Z","size":103,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T10:38:04.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/backplane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-05-02T11:17:16.000Z","updated_at":"2025-03-12T03:28:23.000Z","dependencies_parsed_at":"2024-05-02T23:51:42.947Z","dependency_job_id":"55866e2d-a6ab-4c37-9997-3d9f0eac5ff8","html_url":"https://github.com/backplane/registryproxy","commit_stats":null,"previous_names":["backplane/registryproxy"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/backplane/registryproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backplane%2Fregistryproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backplane%2Fregistryproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backplane%2Fregistryproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backplane%2Fregistryproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/backplane","download_url":"https://codeload.github.com/backplane/registryproxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/backplane%2Fregistryproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2026-01-21T09:03:18.349Z","updated_at":"2026-01-21T09:03:18.404Z","avatar_url":"https://github.com/backplane.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RegistryProxy\n\nRegistryProxy is a reverse proxy designed for Docker registries. It provides URL rewriting capabilities, allowing users to set up a custom domain and namespace that serves data from another registry, be it private or public. This enables more accessible namespacing and domain handling for Docker images stored in various registries.\n\nRepo       | URL\n---------: | --------------------------------------------------\nGitHub     | \u003chttps://github.com/backplane/registryproxy\u003e\nDocker Hub | \u003chttps://hub.docker.com/r/backplane/registryproxy\u003e\n\n## Features\n\n- **Custom Domain Mapping**: Map any domain to a target Docker registry with configurable paths.\n- **Private to Public Proxying**: Expose private repositories on public URLs securely.\n- **Capability URL Support**: Utilize capability URLs for enhanced security and privacy.\n\n## Example Configuration\n\nBelow is an example configuration that demonstrates setting up RegistryProxy:\n\n```yaml\n# Generate \"secretkey\" with: openssl rand -hex 32\n# Generate \"auth\" with: echo \"Basic $(printf '%s:%s' 'myusername' 'mypassword' | base64)\"\nlisten_addr: 0.0.0.0\nlisten_port: 5000\nsecret_key: 796280902778385984e2acd2868447a0ee703a8fab0ed7e69103cd50b9e3cddd\nproxy_fqdn: reg.example.com\nlog_level: DEBUG\nproxies:\n  \"bp/\":\n    registry: index.docker.io\n    remote: backplane\n  \"0ebb01be-0a22-4639-898c-bc8c2d20942d/nginx\":\n    registry: ghcr.io\n    remote: modem7/docker-rickroll\n    auth: \"Basic cmljazpOZXZlckdvbm5hTGV0WW91RG93bjI=\"\n```\n\nWith the above configuration, pulling from `reg.example.com/bp/true` will serve the image from `hub.docker.com/r/backplane/true`. It also supports proxying a private repository at ghcr.io to a public URL.\n\nTo use RegistryProxy, follow these steps:\n\n1. Create a config.yaml file with your specific configurations.\n2. Run the proxy:\n    ```bash\n    docker run --rm -d -p 5000:5000 --volume \"$(pwd)/config.yaml:/config.yaml:ro\" backplane/registryproxy\n    ```\n\n## Security Considerations\n\n* Token Handling: In an effort to prevent end users from abusing the temporary tokens that are issued by upstream registries, RegistryProxy uses encrypted PASETO tokens to securely encapsulate JWTs received from registries.\n\n* When deploying:\n    * Deploy behind a TLS-terminating load balancer to ensure encrypted client connections.\n    * Enable abuse detection, rate limiting, and bandwidth circuit breaker features in the load balancer infrastructure.\n\n## Project Status\n\nThis project is currently in development and should not currently be used in production environments.\n\n## Credits\n\n### Forked From `ahmetb/serverless-registry-proxy`\n\nThis project is forked (on 2-May-2024) from [Ahmet Alp Balkan's Serverless Container Registry Proxy](https://github.com/ahmetb/serverless-registry-proxy) which is an excellent open source (Apache licensed) project that did all the heavy lifting of figuring out how to proxy a registry. Thanks Ahmet.\n\nPost-fork modifications are by Backplane BV (a Belgian IT consultancy).\n\n## License\n\nDistributed under the Apache License 2.0. See LICENSE.txt for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackplane%2Fregistryproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackplane%2Fregistryproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackplane%2Fregistryproxy/lists"}