Add service.healthcheck.start_period option

This commit is contained in:
t4ccer 2022-04-27 12:53:06 -06:00
parent ec8ef96d52
commit cf20442a7a
No known key found for this signature in database
GPG key ID: 19E5A2D8B1E43F19
2 changed files with 28 additions and 0 deletions

View file

@ -707,6 +707,28 @@ Default::
No Example:: {blank}
== services.<name>.service.healthcheck.start_period
See link:https://docs.docker.com/compose/compose-file/#healthcheck[Docker Compose#healthcheck]
[discrete]
=== details
Type:: string
Default::
+
----
"0s"
----
Example::
+
----
"30s"
----
== services.<name>.service.healthcheck.test
See link:https://docs.docker.com/compose/compose-file/#healthcheck[Docker Compose#healthcheck]

View file

@ -123,6 +123,12 @@ in
example = "10s";
description = dockerComposeRef "healthcheck";
};
service.healthcheck.start_period = mkOption {
type = str;
default = "0s";
example = "30s";
description = dockerComposeRef "healthcheck";
};
service.healthcheck.retries = mkOption {
type = int;
default = 3;