This commit is contained in:
Christian Fraß 2025-10-07 16:47:45 +02:00
parent 8dac3eef4f
commit 8eed714d88
3 changed files with 56 additions and 53 deletions

View file

@ -66,7 +66,7 @@
"port": "443", "port": "443",
"proto": "tcp" "proto": "tcp"
} }
}, }
] ]
}, },
{ {

View file

@ -32,67 +32,78 @@
"type": "string" "type": "string"
}, },
"authentication": { "authentication": {
"nullable": false, "anyOf": [
"type": "object", {
"properties": { "nullable": false,
"kind": { "type": "object",
"type": "string", "properties": {
"enum": [ "kind": {
"internal", "type": "string",
"authelia" "enum": ["internal"]
], },
"default": "internal" "data": {
},
"data": {
"anyOf": [
{
"nullable": false, "nullable": false,
"type": "object", "type": "object",
"properties": { "properties": {
"authelia": { },
"additionalProperties": false,
"required": [
],
"default": {
}
}
},
"additionalProperties": false,
"required": [
"kind"
]
},
{
"nullable": false,
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": ["authelia"]
},
"data": {
"nullable": false,
"type": "object",
"properties": {
"url_base": {
"nullable": false, "nullable": false,
"type": "string"
},
"web": {
"nullable": true,
"type": "object", "type": "object",
"properties": { "properties": {
"url_base": { "client_id": {
"nullable": false, "type": "string",
"type": "string" "mandatory": false,
}, "default": "owncloud_web"
"web": {
"nullable": true,
"type": "object",
"properties": {
"client_id": {
"type": "string",
"mandatory": false,
"default": "owncloud_web"
}
},
"additionalProperties": false,
"required": [
],
"default": {
}
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"url_base" ],
] "default": {
}
} }
}, },
"additionalProperties": false, "additionalProperties": false,
"required": [ "required": [
"authelia" "url_base"
] ]
} }
},
"additionalProperties": false,
"required": [
"kind",
"data"
] ]
} }
}, ]
"additionalProperties": false,
"required": [
],
"default": {
}
}, },
"public_share": { "public_share": {
"nullable": false, "nullable": false,

View file

@ -6,15 +6,7 @@
"platform": "linux-amd64", "platform": "linux-amd64",
"domain": "owncloud.example.org", "domain": "owncloud.example.org",
"authentication": { "authentication": {
"kind": "internal", "kind": "internal"
"data": {
"authelia": {
"url_base": "https://authelia.example.org",
"web": {
"client_id": "owncloud_web"
}
}
}
}, },
"public_share": { "public_share": {
"password_necessity": "writable", "password_necessity": "writable",