ownCloud Web with Custom Configuration
Introduction
The behavior of the embedded web frontend named ownCloud Web can be configured. This guide shows you how to do so.
Web UI Configuration
-
Single configuration settings of the embedded web UI can be defined via
WEB_OPTION_xxx
environment variables. -
A json based configuration file can be used via the
WEB_UI_CONFIG_FILE
environment variable. -
A configuration file takes precedence over single options set.
Web UI Options
Beside theming, the behavior of the web UI can be configured via options. Behavior customization can be achieved by setting environment variables in the Web service. Look for environment variables starting with WEB_OPTION_xxx
for more details.
Web UI Config File
When defined via the WEB_UI_CONFIG_FILE
environment variable, the configuration of the web UI can be made with a json based file. See the link for examples.
Embedding Web
Web can be consumed by another application in a stripped-down version called “Embed mode”. This mode is supposed to be used in the context of selecting or sharing resources. For more details refer to the developer documentation ownCloud Web / Embed Mode. See the environment variables: WEB_OPTION_MODE
and WEB_OPTION_EMBED_TARGET
to configure the embedded mode.