Skip to content

Commit

Permalink
containers-schema.json: add healtcheck and example config for clamav
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>

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.
  • Loading branch information
szaimen committed Dec 3, 2024
1 parent d6c8b7c commit 387aabb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions php/containers-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 387aabb

Please sign in to comment.