{"id":15374172,"url":"https://github.com/ericm/healscript","last_synced_at":"2026-04-14T06:33:55.801Z","repository":{"id":97557549,"uuid":"261025448","full_name":"ericm/healscript","owner":"ericm","description":"Docker image that runs a user-defined script whenever a specific container becomes unhealthy ","archived":false,"fork":false,"pushed_at":"2020-05-06T10:50:33.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T22:44:04.107Z","etag":null,"topics":["docker","docker-compose","docker-health-check","health-check"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/moynihan/healscript","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-05-03T21:35:06.000Z","updated_at":"2020-05-06T10:50:42.000Z","dependencies_parsed_at":"2024-03-11T00:15:42.241Z","dependency_job_id":null,"html_url":"https://github.com/ericm/healscript","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"d21cb40c8b84b5bbff898f5d10b015be51c3208e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericm/healscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericm%2Fhealscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericm%2Fhealscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericm%2Fhealscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericm%2Fhealscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericm","download_url":"https://codeload.github.com/ericm/healscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericm%2Fhealscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31785677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: 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":["docker","docker-compose","docker-health-check","health-check"],"created_at":"2024-10-01T13:57:29.478Z","updated_at":"2026-04-14T06:33:55.784Z","avatar_url":"https://github.com/ericm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker HealScript\n\nThis is a Docker image that runs a user-defined script whenever a specific container becomes unhealthy.\nIt maps to scripts in the `/scripts` directory and if an image _X_ is found to be unhealthy, it will run `/scripts/X.sh`\n\n## Usage\n\n## docker\n\n```sh\ndocker run -it \\\n-v /path/to/scripts:/scripts \\\n-v /var/run/docker.sock:/var/run/docker.sock \\\nmoynihan/healscript:latest\n```\n\n### docker-compose\n\n```yml\nversion: \"3\"\nservices:\n  healscript:\n    image: moynihan/healscript:latest\n    volumes:\n      - /path/to/scripts:/scripts\n      - /var/run/docker.sock:/var/run/docker.sock\n```\n\n## Example script\n\n```sh\n# /script/X.sh\ndocker logs Y\ndocker restart X Y Z\n```\n\n## [Images](https://hub.docker.com/r/moynihan/healscript)\n\n- `moynihan/healscript:{latest|x86_64}`\n\n- `moynihan/healscript:armhf`\n\nBased off of https://github.com/willfarrell/docker-autoheal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericm%2Fhealscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericm%2Fhealscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericm%2Fhealscript/lists"}