{"id":16345702,"url":"https://github.com/defelo/docker-healthchecks","last_synced_at":"2025-08-31T01:31:45.749Z","repository":{"id":116535096,"uuid":"557438391","full_name":"Defelo/docker-healthchecks","owner":"Defelo","description":"Healthchecks.io Integration for Docker Healthchecks","archived":false,"fork":false,"pushed_at":"2024-11-11T23:01:35.000Z","size":436,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-11-12T00:17:45.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Defelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-25T17:33:15.000Z","updated_at":"2024-11-11T23:01:39.000Z","dependencies_parsed_at":"2023-10-14T23:14:44.848Z","dependency_job_id":"ef525f32-be7e-47c5-9e24-19b02cf99f3b","html_url":"https://github.com/Defelo/docker-healthchecks","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defelo%2Fdocker-healthchecks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defelo%2Fdocker-healthchecks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defelo%2Fdocker-healthchecks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Defelo%2Fdocker-healthchecks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Defelo","download_url":"https://codeload.github.com/Defelo/docker-healthchecks/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231547779,"owners_count":18393488,"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":[],"created_at":"2024-10-11T00:32:59.777Z","updated_at":"2024-12-27T22:27:34.990Z","avatar_url":"https://github.com/Defelo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![check](https://github.com/Defelo/docker-healthchecks/actions/workflows/check.yml/badge.svg)](https://github.com/Defelo/docker-healthchecks/actions/workflows/check.yml)\n[![test](https://github.com/Defelo/docker-healthchecks/actions/workflows/test.yml/badge.svg)](https://github.com/Defelo/docker-healthchecks/actions/workflows/test.yml)\n[![docker](https://github.com/Defelo/docker-healthchecks/actions/workflows/docker.yml/badge.svg)](https://github.com/Defelo/docker-healthchecks/actions/workflows/docker.yml) \u003c!--\nhttps://app.codecov.io/gh/Defelo/docker-healthchecks/settings/badge\n[![codecov](https://codecov.io/gh/Defelo/docker-healthchecks/branch/develop/graph/badge.svg?token=changeme)](https://codecov.io/gh/Defelo/docker-healthchecks) --\u003e\n![Version](https://img.shields.io/github/v/tag/Defelo/docker-healthchecks?include_prereleases\u0026label=version)\n[![dependency status](https://deps.rs/repo/github/Defelo/docker-healthchecks/status.svg)](https://deps.rs/repo/github/Defelo/docker-healthchecks)\n\n# docker-healthchecks\n[Healthchecks.io](https://healthchecks.io/) Integration for [Docker Healthchecks](https://docs.docker.com/engine/reference/builder/#healthcheck)\n\n## Setup Instructions\n\n1. Start the [docker-healthchecks container](https://github.com/defelo/docker-healthchecks/pkgs/container/docker-healthchecks):\n    ```\n    docker run -d \\\n        -e RUST_LOG=warn,docker_healthchecks=info \\\n        -e DOCKER_PATH=/docker.sock \\\n        -v /var/run/docker.sock/docker.sock:ro \\\n        ghcr.io/defelo/docker-healthchecks\n    ```\n2. For each docker container you want to monitor, create a new check in your [Healthchecks.io](https://healthchecks.io/) project and copy the ping urls.\n3. Configure your docker containers by adding the `healthchecks.url` label to them which contains the corresponding ping url.\n\n### Environment Variables\n\n| Name             | Description                                                                                                    | Default Value          |\n|------------------|----------------------------------------------------------------------------------------------------------------|------------------------|\n| `RUST_LOG`       | [Log level](https://docs.rs/env_logger/latest/env_logger/#enabling-logging) (controlled on a per-module basis) | `ERROR`                |\n| `DOCKER_PATH`    | Path of the docker daemon socket                                                                               | `/var/run/docker.sock` |\n| `PING_INTERVAL`  | Number of seconds between healthcheck pings                                                                    | `60`                   |\n| `PING_RETRIES`   | Number of retries for failed healthcheck pings                                                                 | `5`                    |\n| `PING_TIMEOUT`   | Number of seconds after which the ping timeout expires                                                         | `50`                   |\n| `FETCH_INTERVAL` | Number of seconds between reloading the full container list from the docker daemon                             | `600`                  |\n| `FETCH_TIMEOUT`  | Number of seconds after which the container fetch timeout expires                                              | `300`                  |\n| `EVENT_TIMEOUT`  | Number of seconds after which the timeout for handling a docker event expires                                  | `60`                   |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefelo%2Fdocker-healthchecks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefelo%2Fdocker-healthchecks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefelo%2Fdocker-healthchecks/lists"}