Skip to content

Minimal CLI for check healthcheck in node apps with docker

License

Notifications You must be signed in to change notification settings

lgaticaq/healthcheck-cli

Repository files navigation

healthcheck-cli

npm version npm downloads Maintainability devDependency Status

Minimal CLI for check healthcheck in node apps with docker

Use

healtcheck <host> <port> <path>
# Example
healtcheck 127.0.0.1 3000 /healtcheck

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

Dockerfile Example

FROM node:8-onbuild

RUN npm i -g healtcheck-cli

EXPOSE 3000

HEALTHCHECK --interval=10s --timeout=3s \
  CMD healtcheck 127.0.0.1 3000 /healthcheck

Licencia

MIT

About

Minimal CLI for check healthcheck in node apps with docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published