mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-27 07:58:44 +08:00
mention AIO config and docs in the AIO interface
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
4e13dc5fca
commit
378c884442
3 changed files with 48 additions and 0 deletions
|
@ -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) {
|
||||
|
|
|
@ -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.<br><br>
|
||||
You can either create a new AIO instance or restore a former AIO instance from backup. See the two sections below.<br><br>
|
||||
{{ include('includes/aio-config.twig') }}
|
||||
<h2>New AIO instance</h2>
|
||||
Please type in the domain that will be used for Nextcloud if you want to create a new instance:<br><br />
|
||||
{% 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 %}
|
||||
<h2>Containers</h2>
|
||||
<ul>
|
||||
|
|
36
php/templates/includes/aio-config.twig
Normal file
36
php/templates/includes/aio-config.twig
Normal file
|
@ -0,0 +1,36 @@
|
|||
<details>
|
||||
<summary>Click here to view the current AIO config and documentation links</summary><br />
|
||||
{% if domain != '' %}
|
||||
Nextclouds config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can by edited by following <b><a href="https://github.com/nextcloud/all-in-one#how-to-edit-nextclouds-configphp-file-with-a-texteditor">this documentation</a></b><br><br>
|
||||
You can run Nextcloud's usual occ commands by following <b><a href="https://github.com/nextcloud/all-in-one#how-to-edit-nextclouds-configphp-file-with-a-texteditor">this documentation</a></b><br><br>
|
||||
{% endif %}
|
||||
|
||||
{% if nextcloud_datadir starts with '/' %}
|
||||
Nextcloud's datadir is getting stored in the {{ nextcloud_datadir }} directory.
|
||||
{% else %}
|
||||
Nextcloud's datadir is getting stored in the {{ nextcloud_datadir }} Docker volume.
|
||||
{% endif %}
|
||||
See <b><a href="https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
{% if nextcloud_mount == '' %}
|
||||
The Nextcloud container is currently confied and local external storage in Nextcloud is disabled.
|
||||
{% else %}
|
||||
The Nextcloud container currently gets access to the {{ nextcloud_mount }} directory and local external storage in Nextcloud is enabled.
|
||||
{% endif %}
|
||||
See <b><a href="https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
Nextcloud currently has an upload limit of {{ nextcloud_upload_limit }} configured (for public link uploads. Bigger uploads are always possible when users are logged in). See <b><a href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
Nextcloud currently has a timeout of {{ nextcloud_max_time }} seconds configured (important for big file uploads). See <b><a href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
For Nextcloud, a memory limit of {{ nextcloud_memory_limit }} per PHP process is currently configured. See <b><a href="https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
{% if is_dri_device_enabled == true %}
|
||||
The /dev/dri device which is needed for hardware transcoding is currently attached to the Nextcloud container.
|
||||
{% else %}
|
||||
The /dev/dri device which is needed for hardware transcoding is currently not attached to the Nextcloud container.
|
||||
{% endif %}
|
||||
See <b><a href="https://github.com/nextcloud/all-in-one#how-to-enable-hardware-transcoding-for-nextcloud">this documentation</a></b> on how to change this.<br><br>
|
||||
|
||||
For further documentation on AIO, refer to <b><a href="https://github.com/nextcloud/all-in-one#nextcloud-all-in-one">this page</a></b>. You can use the browser search [CTRL]+[F] to search through the documentation. Additional documentation can be found <b><a href="https://github.com/nextcloud/all-in-one/discussions/categories/wiki">here</a></b>.<br>
|
||||
</details><br />
|
Loading…
Reference in a new issue