From 387aabb579ce15bccba24220ca2d8d21acdbb874 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Mon, 2 Dec 2024 12:15:26 +0100 Subject: [PATCH] containers-schema.json: add healtcheck and example config for clamav Signed-off-by: Simon L. Revert "containers-schema.json: add healtcheck and example config for clamav" This reverts commit 7d56e5e3e123b504e5c2e91cb7e4690006e0f141. Reapply "containers-schema.json: add healtcheck and example config for clamav" This reverts commit ec6d084affaf56797749166f9257fb3b16faea8e. --- php/containers-schema.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/php/containers-schema.json b/php/containers-schema.json index cf3f893fb441..7055d0db9d1d 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": {