healthcheck-cli

    1.0.1 • Public • Published

    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

    Install

    npm i healthcheck-cli

    DownloadsWeekly Downloads

    164

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.33 kB

    Total Files

    5

    Last publish

    Collaborators

    • lgatica