{"id":30189832,"url":"https://github.com/ledongthuc/liveness-probe-api","last_synced_at":"2026-04-16T03:32:52.272Z","repository":{"id":148569450,"uuid":"225696169","full_name":"ledongthuc/liveness-probe-api","owner":"ledongthuc","description":"API server supports routes for liveness, readness, startup probes","archived":false,"fork":false,"pushed_at":"2019-12-03T20:04:19.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T11:18:31.738Z","etag":null,"topics":["docker","docker-image"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/ledongthuc/liveness-probe-api","language":"Go","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/ledongthuc.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":"2019-12-03T19:12:25.000Z","updated_at":"2019-12-03T20:04:21.000Z","dependencies_parsed_at":"2023-05-20T13:46:26.895Z","dependency_job_id":null,"html_url":"https://github.com/ledongthuc/liveness-probe-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ledongthuc/liveness-probe-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledongthuc%2Fliveness-probe-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledongthuc%2Fliveness-probe-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledongthuc%2Fliveness-probe-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledongthuc%2Fliveness-probe-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ledongthuc","download_url":"https://codeload.github.com/ledongthuc/liveness-probe-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledongthuc%2Fliveness-probe-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","docker-image"],"created_at":"2025-08-12T19:01:57.891Z","updated_at":"2026-04-16T03:32:52.259Z","avatar_url":"https://github.com/ledongthuc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# liveness-probe-api\nAPI server supports routes for liveness, readness, startup probes\n\nDocker images at: https://hub.docker.com/repository/docker/ledongthuc/liveness-probe-api\n\n## Quickstart\n\nRun server with docker\n```\ndocker run -p 8080:8080 ledongthuc/liveness-probe-api\n```\n\nMake requests to service 6 times\n```\ncurl -I http://localhost:8080/liveness_probe_status \u0026\u0026 \\\ncurl -I http://localhost:8080/liveness_probe_status \u0026\u0026 \\\ncurl -I http://localhost:8080/liveness_probe_status \u0026\u0026 \\\ncurl -I http://localhost:8080/liveness_probe_status \u0026\u0026 \\\ncurl -I http://localhost:8080/liveness_probe_status \u0026\u0026 \\\ncurl -I http://localhost:8080/liveness_probe_status\n```\n## Notes\n\nIf you want change the number of first successful requests, use environment `NO_SUCCESS`\n\n```\ndocker run -e NO_SUCCESS=10 -p 8080:8080 ledongthuc/liveness-probe-api\n```\n\nWant to run/build with Golang, check Makefile\n\n```\nmake build\nmake run\n```\n\nFeel free to PR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledongthuc%2Fliveness-probe-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fledongthuc%2Fliveness-probe-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledongthuc%2Fliveness-probe-api/lists"}