Web Service Configuration
Introduction
The web service embeds and serves the static files for the Infinite Scale web client. See the ownCloud Web description for more details.
Note that clients will respond with a connection error if the web service is not available.
The web service also provides a minimal API for branding functionality like changing the logo shown.
Web UI Configuration
-
Single configuration settings of the embedded web UI can be defined via
WEB_OPTION_xxxenvironment variables. -
A json based configuration file can be used via the
WEB_UI_CONFIG_FILEenvironment variable. -
If a json based configuration file is used, these configurations take precedence over single options set.
Web UI Options
Beside theming, see below, the behavior of the web UI can be configured via options. Behavior customization can be achieved by setting environment variables. Look for environment variables starting with WEB_OPTION_xxx for more details.
Web UI Config File
When defined via the WEB_UI_CONFIG_FILE, 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.
Customize the Web UI Configuration
See the ownCloud Web with Custom Configuration documentation for details if you want:
-
Custom Compiled Web Assets
-
Extend Web UI With Apps
Custom Theming for the Web UI
See the ownCloud Web with Custom Theming for more details.
Configuration
Environment Variables
The web service is configured via the following environment variables. Read the Environment Variable Types documentation for important details. Column IV shows with which release the environment variable has been introduced.
404: Not Found
YAML Example
-
Note the file shown below must be renamed and placed in the correct folder according to the Configuration File Naming conventions to be effective.
-
See the Notes for Environment Variables if you want to use environment variables in the yaml file.