healthCheck property

({Duration interval, int retries, List<String> test, Duration timeout})? healthCheck
final

A health check of the container's own, replacing the image's: the command in exec form (['CMD-SHELL', 'pg_isready']) and how often it runs, how long it may take and how many failures make the container unhealthy.

Implementation

final ({List<String> test, Duration interval, Duration timeout, int retries})?
healthCheck;