{"id":20414510,"url":"https://github.com/codecov/codecov-gateway","last_synced_at":"2026-03-05T00:00:21.902Z","repository":{"id":184020087,"uuid":"469877366","full_name":"codecov/codecov-gateway","owner":"codecov","description":"Gateway for self hosted. The brains!","archived":false,"fork":false,"pushed_at":"2026-03-04T02:02:56.000Z","size":272,"stargazers_count":2,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-04T06:33:25.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-14T19:31:08.000Z","updated_at":"2026-02-02T15:26:53.000Z","dependencies_parsed_at":"2023-10-02T21:47:15.937Z","dependency_job_id":"4f3fc3bd-87ab-4c5b-b0b7-3928fc8f17d0","html_url":"https://github.com/codecov/codecov-gateway","commit_stats":null,"previous_names":["codecov/codecov-gateway"],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/codecov/codecov-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/codecov-gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fcodecov-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30101615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:59:36.199Z","status":"ssl_error","status_checked_at":"2026-03-04T23:56:48.556Z","response_time":59,"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-15T06:10:45.351Z","updated_at":"2026-03-05T00:00:21.829Z","avatar_url":"https://github.com/codecov.png","language":"Shell","readme":"# codecov-gateway\nGateway for self hosted. The brains!\n\n[![Create Self Hosted Release](https://github.com/codecov/codecov-gateway/actions/workflows/self-hosted-release.yml/badge.svg)](https://github.com/codecov/codecov-gateway/actions/workflows/self-hosted-release.yml)\n[![Gateway CI](https://github.com/codecov/codecov-gateway/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/codecov/codecov-gateway/actions/workflows/ci.yml)\n\n### Purpose\nControl routing to various Codecov services. This is meant to be functionally equivalent to ambassador/emissary which we use in production. The primary purpose is to allow independent scaling of various services based on traffic levels.\n\n### Configuration\nEnd user configuration via environment variables was a goal while creating this. As such there are a number of vars that can be set to impact performance.\n```text\nFormat is: VAR=default # info\n\nCODECOV_API_HOST=api # This is the host to access the codecov api\nCODECOV_API_PORT=8000 # The port to access the codecov api\nCODECOV_API_SCHEME=http # The scheme on which to access the codecov api. http or https\nCODECOV_API_HOST_HEADER=\"%[req.hdr(Host)]\" # The host to send as the host header. Default passes through host. Useful to set for local envs.\nCODECOV_API_ADMIN_ENABLED=false # Enable/disable the admin endpoint proxy\nCODECOV_API_ADMIN_PATH=admin # The path for api's admin interface\nCODECOV_API_ADMIN_DEBUG_ENABLED=false # Enable/disable the admin path for Django's debug toolbar in local development\nCODECOV_IA_HOST=api\nCODECOV_IA_PORT=8000\nCODECOV_IA_SCHEME=http\nCODECOV_IA_HOST_HEADER=\"%[req.hdr(Host)]\"\nCODECOV_DEFAULT_HOST=frontend\nCODECOV_DEFAULT_PORT=8080\nCODECOV_DEFAULT_SCHEME=http\nCODECOV_DEFAULT_HOST_HEADER=\"%[req.hdr(Host)]\"\nCODECOV_MINIO_HOST=minio\nCODECOV_MINIO_PORT=9000\nCODECOV_MINIO_SCHEME=http\nCODECOV_MINIO_HOST_HEADER=\"%[req.hdr(Host)]\"\nCODECOV_GATEWAY_HTTP_PORT=8080 # Port the gateway listens for traffic on\nCODECOV_GATEWAY_HTTPS_PORT=8443 # Port the gateway listens for ssl traffic on if enabled\nCODECOV_GATEWAY_CHROOT_DISABLED=null # Default is null. When var is present, chroot will be disabled for haproxy. Workaround for Reddit.\n```\n### Example configuration\n```text\nUse public codecov api, local IA and qa for web\n\nCODECOV_API_HOST=api.codecov.io\nCODECOV_API_PORT=443\nCODECOV_API_SCHEME=https\nCODECOV_API_HOST_HEADER=api.codecov.io\nCODECOV_IA_HOST=IA\nCODECOV_IA_PORT=8000\nCODECOV_IA_SCHEME=http\nCODECOV_IA_HOST_HEADER=\"\\$http_host\"\nCODECOV_DEFAULT_HOST=qa.codecov.dev\nCODECOV_DEFAULT_PORT=443\nCODECOV_DEFAULT_SCHEME=https\nCODECOV_DEFAULT_HOST_HEADER=\"qa.codecov.dev\"\n```\n\n### SSL\n1. Mount a valid cert in the container at `/etc/codecov/ssl/certs/cert.crt`\n2. Configure the env `CODECOV_GATEWAY_SSL_ENABLED=true`\n\n### Proxy\n1. Configure the env `CODECOV_GATEWAY_PROXY_MODE_ENABLED=true`\nAll requests will now be sent on to the configured `CODECOV_DEFAULT` host/port.\n\n### Minio\nThis is mostly intended for when using with docker compose. It makes /export and /archive route to the minio host. To enable minio features use the env var `CODECOV_GATEWAY_MINIO_ENABLED=true`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fcodecov-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fcodecov-gateway/lists"}