healthcheck-cli

Minimal CLI for check healthcheck in node apps with docker

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
healthcheck-cli
0151.0.14 years ago4 years agoMinified + gzip package size for healthcheck-cli in KB

Readme

healthcheck-cli
npm version npm downloads Maintainability devDependency Status
Minimal CLI for check healthcheck in node apps with docker

Use

Install healtcheck-cli as global dependency and add HEALTHCHECK instruction.

Example

FROM node:8-onbuild

RUN npm i -g healtcheck-cli

EXPOSE 3000

HEALTHCHECK --interval=10s --timeout=3s \
  CMD node src/healtcheck.js 127.0.0.1 3000 /healthcheck

Licencia

MIT