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
$ symbol-bootstrap healthCheck
OPTIONS
-h, --help It shows the help of this command.
-t, --target=target [default: target] The target folder where the symbol-bootstrap network is generated
--logger=logger [default: Console,File] The loggers the command will use. Options are: Console,File,Silent. Use
',' to select multiple loggers.
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
$ symbol-bootstrap healthCheck
See code: src/commands/healthCheck.ts