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.
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