{"id":31048984,"url":"https://github.com/libert-xyz/alwayshealthy","last_synced_at":"2026-04-17T06:33:05.206Z","repository":{"id":307555194,"uuid":"1029922496","full_name":"libert-xyz/alwayshealthy","owner":"libert-xyz","description":"Minimal Health Check Container with a configurable port","archived":false,"fork":false,"pushed_at":"2025-07-31T21:01:10.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T11:10:21.059Z","etag":null,"topics":["docker","docker-image","healthcheck"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libert-xyz.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,"zenodo":null}},"created_at":"2025-07-31T19:44:44.000Z","updated_at":"2025-07-31T21:01:14.000Z","dependencies_parsed_at":"2025-07-31T23:08:49.574Z","dependency_job_id":"3c8c94ca-2efc-4d5d-b4ca-f9a76fd63603","html_url":"https://github.com/libert-xyz/alwayshealthy","commit_stats":null,"previous_names":["libert-xyz/alwayshealthy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libert-xyz/alwayshealthy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libert-xyz%2Falwayshealthy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libert-xyz%2Falwayshealthy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libert-xyz%2Falwayshealthy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libert-xyz%2Falwayshealthy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libert-xyz","download_url":"https://codeload.github.com/libert-xyz/alwayshealthy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libert-xyz%2Falwayshealthy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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","healthcheck"],"created_at":"2025-09-14T21:25:42.501Z","updated_at":"2026-04-17T06:33:05.178Z","avatar_url":"https://github.com/libert-xyz.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Minimal Health Check Container\n\n##  What It Does\n\nThis container is a tiny HTTP health endpoint built with Go and based on the scratch image (0 dependencies, ~3–5 MB image size).\n\nIt listens on the port specified by the PORT environment variable and responds to root / requests with a JSON payload indicating health.\n\n* Listens on a configurable TCP port\n* Returns HTTP 200 OK with body:\n        `{\"status\":\"healthy\"}`\n* Designed for minimal resource usage and fast startup\n\n## Usage\n\n### 🐳 Quick Start: Use the Prebuilt Image from GitHub Container Registry\n\nYou can use the prebuilt multi-architecture image published to GitHub Container Registry (GHCR):\n\n```bash\ndocker pull ghcr.io/libert-xyz/alwayshealthy:latest\ndocker run -e PORT=3000 -p 3000:3000 ghcr.io/libert-xyz/alwayshealthy\n```\n\n### 🛠️ Or Build Your Own Image\n\n\n1. **Build the image locally**\n\n```bash\ndocker build -t alwayshealthy .\n```\n\n2. **Run the container**\n\n```bash\ndocker run -e PORT=3000 -p 3000:3000 alwayshealthy\n```\n\n3. **Test the endpoint**\n\n```bash\ncurl http://localhost:3000\n```\n\n## Environment Variables\n\nYou can change the exposed port by modifying the PORT environment variable.\nFor example, to run on port 8080:\n\n```bash\ndocker run -e PORT=8080 -p 8080:8080 alwayshealthy\n```\n\n\n## Use Cases\n\n* Kubernetes livenessProbe or readinessProbe\n* Docker Compose health checks\n* Lightweight health status for any containerized service\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibert-xyz%2Falwayshealthy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibert-xyz%2Falwayshealthy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibert-xyz%2Falwayshealthy/lists"}