This repository contains a collection of OpenCloud Web apps, which for different reasons are not added to the main repository.
- web-app-apollon
- web-app-arcade
- web-app-bpmn
- web-app-calculator
- web-app-cast
- web-app-draw-io
- web-app-excalidraw
- web-app-external-sites
- web-app-importer
- web-app-json-viewer
- web-app-maps
- web-app-notes
- web-app-pastebin
- web-app-progress-bars
- web-app-unzip
Please refer to the Web app docs to learn how to install and configure apps in OpenCloud.
Some apps need additional rules in the Content Security Policy (CSP) of OpenCloud. These apps ship their rules as files next to their manifest.json:
csp.yamlcontains the rules the app cannot work without.csp.defaults.yamlcontains the rules the app needs with its default configuration, for example the default tile server of the maps app. If you configure different hosts, leave this file out and add your hosts to your own CSP file instead.- Further files like
csp.protomaps-fonts.yamlof the maps app cover optional setups. They are described in the README of the app and should be added to the list individually, only where you need them, instead of via a glob pattern.
OpenCloud can merge these files into its default CSP. This requires OpenCloud 9.3.0 or newer:
PROXY_CSP_CONFIG_FILE_LOCATION: '/web/apps/*/csp.yaml,/web/apps/*/csp.defaults.yaml,/etc/opencloud/csp.yaml'Replace /web/apps with your apps directory and append your own CSP file if you have one. The proxy service needs read access to the apps directory, and it reads the files only at startup, so restart it after installing or updating an app.
With older versions of OpenCloud, copy the rules from the files of your installed apps into your own CSP file.
New apps must be placed inside the packages folder and be prefixed with web-app-. Additionally, their dist folder needs to be added as volume mount of the docker opencloud service.