From 4a839ec1116c90e3a77b009aef3249b2edcf6e92 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 3 Dec 2024 10:29:40 +0100 Subject: [PATCH] containers-schema.json: add healtcheck Signed-off-by: Simon L. --- php/containers-schema.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/php/containers-schema.json b/php/containers-schema.json index cf3f893f..7055d0db 100644 --- a/php/containers-schema.json +++ b/php/containers-schema.json @@ -94,6 +94,36 @@ } } }, + "healthcheck": { + "type": "object", + "additionalProperties": false, + "minProperties": 6, + "properties": { + "interval": { + "type": "string", + "pattern": "^[0-9]+s$" + }, + "timeout": { + "type": "string", + "pattern": "^[0-9]+s$" + }, + "retries": { + "type": "integer" + }, + "start_period": { + "type": "string", + "pattern": "^[0-9]+s$" + }, + "start_interval": { + "type": "string", + "pattern": "^[0-9]+s$" + }, + "test": { + "type": "string", + "pattern": "^.*$" + } + } + }, "aio_variables": { "type": "array", "items": {