From 475c28e49724e49465bec449ee79682f8268cc4d Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 17 Aug 2023 16:41:22 +0200 Subject: [PATCH] containers definition - allow to define caddy_routes Signed-off-by: Simon L --- php/containers-schema.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/php/containers-schema.json b/php/containers-schema.json index 9a4fae302e6..0c596c35e03 100644 --- a/php/containers-schema.json +++ b/php/containers-schema.json @@ -151,6 +151,27 @@ "pattern": "^/[a-z/_0-9-:]+$" } }, + "caddy_routes": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "minProperties": 3, + "properties": { + "route": { + "type": "string", + "pattern": "^[a-z/-]+$" + }, + "target": { + "type": "string", + "pattern": "^nextcloud-aio-[a-z-]+:[0-9]+$" + }, + "uri_strip_prefix": { + "type": "boolean" + } + } + } + }, "volumes": { "type": "array", "items": {