From ea8ec3f7de468574ea98754b9fb1c4b6c85b2adb Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Tue, 25 Jul 2023 16:05:01 +0000 Subject: [PATCH] Add instructions for custom apps Signed-off-by: GitHub --- readme-vars.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index f7fb7a7..83ae473 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -58,13 +58,23 @@ app_setup_block: | It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16. Since all data is stored in the `/config` and `/data` volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. - + ### Collaborative Editing Nextcloud's built-in collaborative editing packages (Collabora/CODE and OnlyOffice) only work on x86_64 systems with glibc, and therefore they are not compatible with our images. You should create separate containers for them and set them up in Nextcloud with their respective connector addons. If (auto) installed, those built-in packages may cause instability and should be removed. - + + ### Custom App Directories + + If you are [using custom app directories](https://docs.nextcloud.com/server/latest/admin_manual/apps_management.html#using-custom-app-directories) you will need to make the custom folder(s) you are using available to the web server. The recommended way to do this with our container is to add a volume. Ex: + + ```yaml + volumes: + - /path/to/your_custom_apps_folder:/app/www/public/your_custom_apps_folder + ``` + + Afterwards, you can set `"path" => OC::$SERVERROOT . "/your_custom_apps_folder",` in your `config.php` file, per the [official documentation](https://docs.nextcloud.com/server/latest/admin_manual/apps_management.html#using-custom-app-directories). # changelog changelogs: