rename production to services

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2022-12-25 00:58:09 +01:00
parent 3c57b2db56
commit 7a9a452f45
4 changed files with 8 additions and 9 deletions

View file

@ -4,7 +4,7 @@
"additionalProperties": false,
"minProperties": 1,
"properties": {
"production": {
"services": {
"type": "array",
"items": {
"type": "object",

View file

@ -1,5 +1,5 @@
{
"production": [
"services": [
{
"container_name": "nextcloud-aio-apache",
"depends_on": [

View file

@ -48,7 +48,7 @@ class ContainerDefinitionFetcher
$data = json_decode(file_get_contents(__DIR__ . '/../containers.json'), true);
$containers = [];
foreach ($data['production'] as $entry) {
foreach ($data['services'] as $entry) {
if ($entry['container_name'] === 'nextcloud-aio-clamav') {
if (!$this->configurationManager->isClamavEnabled()) {
continue;