Skip to content

Docker Hub image outdated + healthcheck endpoint request #5

Closed

Description

@patillacode

Hey! Two things:

Docker Hub image not updated after latest merge

The smallwat3r/secretapi:latest image on Docker Hub was last pushed on January 18, 2026, but PR #3 (dark theme + toggle) was merged on March 6, 2026. Could you push a new image to Docker Hub so users can get the latest changes without building from source?

Healthcheck endpoint

It would be great to have a lightweight /health (or /healthz) endpoint that returns a simple 200 OK. This would allow Docker healthchecks to be configured directly:

healthcheck:
  test: ["CMD", "wget", "-qO-", "http://localhost:8085/health"]
  interval: 30s
  timeout: 5s
  retries: 3

The current base image is minimal (no shell, no wget/curl), so users who want a healthcheck have to layer additional tools on top, which adds complexity to the deployment setup.

Thanks!

Activity

  1. smallwat3r commented on Mar 9, 2026

    @smallwat3r
    Owner

    Hey @patillacode ,

    We already have a GET /health endpoint (returns 200 OK, with an optional ?redis=true for deeper checks).

    But you're right that the distroless base image doesn't include wget or curl though, the healthcheck in compose file was actually broken because of this. Something I've probably missed when I migrated over to distroless!

    I've now added a small compiled Go binary that hits /health internally:

    You can use it like:

    healthcheck:
      test: ["CMD", "/app/healthcheck"]
      interval: 30s
      timeout: 5s
      retries: 3

    Thanks for flagging this!

    I've also pushed to the Docker registry the latest image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions