Skip to content

Commit

Permalink
containers definition - allow to define caddy_routes
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen committed Sep 27, 2023
1 parent c320da2 commit 475c28e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions php/containers-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 475c28e

Please sign in to comment.