mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 15:00:09 +00:00
rename services to aio_services_v1
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
"type": "object",
|
||||
"description": "AIO containers definition schema",
|
||||
"minProperties": 1,
|
||||
"required": ["services"],
|
||||
"required": ["aio_services_v1"],
|
||||
"properties": {
|
||||
"services": {
|
||||
"aio_services_v1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"services": [
|
||||
"aio_services_v1": [
|
||||
{
|
||||
"container_name": "nextcloud-aio-apache",
|
||||
"depends_on": [
|
||||
|
||||
@@ -48,7 +48,7 @@ class ContainerDefinitionFetcher
|
||||
$data = json_decode(file_get_contents(__DIR__ . '/../containers.json'), true);
|
||||
|
||||
$containers = [];
|
||||
foreach ($data['services'] as $entry) {
|
||||
foreach ($data['aio_services_v1'] as $entry) {
|
||||
if ($entry['container_name'] === 'nextcloud-aio-clamav') {
|
||||
if (!$this->configurationManager->isClamavEnabled()) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user