feat(deployment): add photo-addon and advanced-search web extensions

Add deployment configuration for the new web extensions:
- photo-addon: Photo gallery with timeline view, EXIF metadata, and map view
- advanced-search: Comprehensive search filtering with KQL query builder

Files added:
- web_extensions/photo-addon.yml
- web_extensions/advanced-search.yml

Files modified:
- config/ocis/csp.yaml: Added OpenStreetMap CSP entries for photo-addon map
- .env: Added PHOTOADDON and ADVANCEDSEARCH variables

Related PRs:
- owncloud/web-extensions#305 (photo-addon)
- owncloud/web-extensions#306 (advanced-search)
- owncloud/ocis#11912 (photo metadata search backend)
This commit is contained in:
Paul Faure
2026-01-21 12:07:48 -05:00
committed by Martin
parent 1ec05f2a20
commit 825c1c4c29
4 changed files with 40 additions and 1 deletions

View File

@@ -146,6 +146,11 @@ START_ADDITIONAL_SERVICES="notifications"
# - config/ocis/apps.yaml
# - config/ocis/csp.yaml
#IMPORTER=:web_extensions/importer.yml
#PHOTOADDON=:web_extensions/photo-addon.yml
# Photo-addon provides photo gallery with timeline view, EXIF metadata display, and map view.
# Note: Photo-addon requires CSP configuration for OpenStreetMap tiles, see config/ocis/csp.yaml
#ADVANCEDSEARCH=:web_extensions/advanced-search.yml
# Advanced-search provides comprehensive search filtering with KQL query builder.
# The importer needs additional config, see the following lines for more details.
## The docker image to be used for uppy companion.
# owncloud has built a container with public link import support.
@@ -268,4 +273,4 @@ MAIL_SERVER_DOCKER_TAG=v1.28.0
# This MUST be the last line as it assembles the supplemental compose files to be used.
# ALL supplemental configs must be added here, whether commented or not.
# Each var must either be empty or contain :path/file.yml
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${MAIL_SERVER:-}${MONITORING:-}
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}${PHOTOADDON:-}${ADVANCEDSEARCH:-}${MAIL_SERVER:-}${MONITORING:-}

View File

@@ -7,6 +7,8 @@ directives:
- 'https://${COMPANION_DOMAIN|companion.owncloud.test}/'
- 'wss://${COMPANION_DOMAIN|companion.owncloud.test}/'
- 'https://raw.githubusercontent.com/owncloud/awesome-ocis/'
# Photo-addon: OpenStreetMap tile requests
- 'https://*.tile.openstreetmap.org'
default-src:
- '''none'''
font-src:
@@ -30,6 +32,8 @@ directives:
# In contrary to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice.owncloud.test}/'
- 'https://${COLLABORA_DOMAIN|collabora.owncloud.test}/'
# Photo-addon: OpenStreetMap tiles for map view
- 'https://*.tile.openstreetmap.org'
manifest-src:
- '''self'''
media-src:

View File

@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
advanced-search-init:
condition: service_completed_successfully
advanced-search-init:
image: owncloud/web-extensions:advanced-search-0.1.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/advanced-search/ /apps"]

View File

@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
photo-addon-init:
condition: service_completed_successfully
photo-addon-init:
image: owncloud/web-extensions:photo-addon-0.1.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/photo-addon/ /apps"]