Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.13 KB

healthCheck.md

File metadata and controls

39 lines (27 loc) · 1.13 KB

twix-node healthCheck

It checks if the services created with docker compose are up and running.

This command checks:

  • Whether the docker containers are running.
  • Whether the services' exposed ports are listening.
  • Whether the rest gateways' /node/health are OK.

The health check process handles 'repeat' and custom 'openPort' services.

twix-node healthCheck

It checks if the services created with docker compose are up and running.

USAGE
  $ twix-node healthCheck

OPTIONS
  -h, --help           It shows the help of this command.
  -t, --target=target  [default: target] The target folder where the twix-node network is generated

DESCRIPTION
  This command checks:
  - Whether the docker containers are running.
  - Whether the services' exposed ports are listening.
  - Whether the rest gateways' /node/health are OK.

  The health check process handles 'repeat' and custom 'openPort' services.

EXAMPLE
  $ twix-node healthCheck

See code: src/commands/healthCheck.ts