Self-Hosted Best Practices

On this page, you can find some helpful pointers on working with Codecov Self-Hosted.


In line with industry best practices, we recommend placing your self-hosted install of Codecov behind your company's firewall, or otherwise perform other access controls such that it is only accessible by trusted staff and employees.

We recommend periodically restarting services to clear any memory leaks, and refresh the worker tasks. We recommend doing this daily or, at the very least, weekly.

Setup a Codecov Bot

See Team Bot.

Use your bash uploader

Your Codecov self-hosted includes a bash uploader that is a stable version, and should be used for all applicable uploading.

YES: bash <(curl -s
 NO: bash <(curl -s -u

Use Global Upload Tokens

Setup Report Archiving

Archiving Reports.

Did this page help you?