https://github.com/cterence/go-healthcheck
Simple health check application based on the hellofresh/health-go library.
https://github.com/cterence/go-healthcheck
chi docker go golang healthcheck http uptime
Last synced: about 1 month ago
JSON representation
Simple health check application based on the hellofresh/health-go library.
- Host: GitHub
- URL: https://github.com/cterence/go-healthcheck
- Owner: cterence
- License: apache-2.0
- Created: 2024-12-18T19:56:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-22T14:02:54.000Z (about 1 month ago)
- Last Synced: 2026-04-22T16:05:52.353Z (about 1 month ago)
- Topics: chi, docker, go, golang, healthcheck, http, uptime
- Language: Go
- Homepage:
- Size: 428 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-healthcheck
Simple health check application based on the [hellofresh/health-go](https://github.com/hellofresh/health-go) library.
## Supported targets
- HTTP(S)
- PostgreSQL
- Redis
## Installation
Install binary with go:
```bash
go install github.com/cterence/go-healthcheck@latest
```
Or run with Docker:
```bash
docker run -v ./config.yaml:/app/config.yaml ghcr.io/cterence/go-healthcheck:latest
```
## Usage
```bash
# create a config file
mv config.example.yaml config.yaml
# run example docker compose
docker compose up -d
# query go-healthcheck
curl localhost:3000
# {"status":"OK","timestamp":"2025-03-19T21:25:35.401294936Z","component":{"name":"mychecks","version":"1.0"}, "failures": {}}
```