Skip to content

Install and enable a shipped app in Docker container #402

@bdovaz

Description

@bdovaz

I want to install logreader so I can view logs more easily.

Since this app is not from the app store but comes included with Nextcloud, I don't know how to install and enable it:

https://github.com/nextcloud/server/blob/894f96380486fac55a34fd11268a7f176085d29b/core/shipped.json#L25

https://github.com/nextcloud/logreader

Setting it to NEXTCLOUD_AUTOINSTALL_APPS=logreader does not work.

I see that viewer a`` is installed from bootstrap.sh, so there should be a way to install the apps we want:

git clone --depth 1 --branch "${SERVER_BRANCH:-master}" https://github.com/nextcloud/viewer.git /tmp/server/apps/viewer

Instead of hardcoding that viewer app cloning, wouldn't it be better to have an ENV where the default value is viewer but allows you to add more shipped apps?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions