Add service.healthcheck.start_period
option
This commit is contained in:
parent
ec8ef96d52
commit
cf20442a7a
2 changed files with 28 additions and 0 deletions
|
@ -707,6 +707,28 @@ Default::
|
||||||
|
|
||||||
No Example:: {blank}
|
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
|
== services.<name>.service.healthcheck.test
|
||||||
|
|
||||||
See link:https://docs.docker.com/compose/compose-file/#healthcheck[Docker Compose#healthcheck]
|
See link:https://docs.docker.com/compose/compose-file/#healthcheck[Docker Compose#healthcheck]
|
||||||
|
|
|
@ -123,6 +123,12 @@ in
|
||||||
example = "10s";
|
example = "10s";
|
||||||
description = dockerComposeRef "healthcheck";
|
description = dockerComposeRef "healthcheck";
|
||||||
};
|
};
|
||||||
|
service.healthcheck.start_period = mkOption {
|
||||||
|
type = str;
|
||||||
|
default = "0s";
|
||||||
|
example = "30s";
|
||||||
|
description = dockerComposeRef "healthcheck";
|
||||||
|
};
|
||||||
service.healthcheck.retries = mkOption {
|
service.healthcheck.retries = mkOption {
|
||||||
type = int;
|
type = int;
|
||||||
default = 3;
|
default = 3;
|
||||||
|
|
Loading…
Reference in a new issue