diff --git a/php/public/index.php b/php/public/index.php index be87258d..7b9405f4 100644 --- a/php/public/index.php +++ b/php/public/index.php @@ -111,6 +111,12 @@ $app->get('/containers', function (Request $request, Response $response, array $ 'is_imaginary_enabled' => $configurationManager->isImaginaryEnabled(), 'is_fulltextsearch_enabled' => $configurationManager->isFulltextsearchEnabled(), 'additional_backup_directories' => $configurationManager->GetAdditionalBackupDirectoriesString(), + 'nextcloud_datadir' => $configurationManager->GetNextcloudDatadirMount(), + 'nextcloud_mount' => $configurationManager->GetNextcloudMount(), + 'nextcloud_upload_limit' => $configurationManager->GetNextcloudUploadLimit(), + 'nextcloud_max_time' => $configurationManager->GetNextcloudMaxTime(), + 'nextcloud_memory_limit' => $configurationManager->GetNextcloudMemoryLimit(), + 'is_dri_device_enabled' => $configurationManager->isDriDeviceEnabled(), ]); })->setName('profile'); $app->get('/login', function (Request $request, Response $response, array $args) use ($container) { diff --git a/php/templates/containers.twig b/php/templates/containers.twig index ac286acb..43a7f808 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -80,6 +80,8 @@ {% else %} {% if borg_backup_host_location == '' and borg_restore_password == '' %} Nextcloud AIO stands for Nextcloud All-in-One and provides easy deployment and maintenance with most features included in this one Nextcloud instance.

+ You can either create a new AIO instance or restore a former AIO instance from backup. See the two sections below.

+ {{ include('includes/aio-config.twig') }}

New AIO instance

Please type in the domain that will be used for Nextcloud if you want to create a new instance:

{% if skip_domain_validation == true %} @@ -226,6 +228,10 @@ {% endif %} {% endif %} + {% if isApacheStarting == false and is_backup_container_running == false %} + {{ include('includes/aio-config.twig') }} + {% endif %} + {% if was_start_button_clicked == true %}

Containers