Compare commits

..

2 commits

Author SHA1 Message Date
D. Scott Boggs ac4dd7266b Add Tika full-text search 2023-09-16 09:06:35 -04:00
D. Scott Boggs f395ea5f63 add a note about backups 2023-09-02 10:52:38 -04:00
2 changed files with 18 additions and 0 deletions

View file

@ -25,3 +25,10 @@ The application requires nothing special, just a `docker compose up`.
- Rather complete example docker-compose file with Traefik+WOPI/CODE+search
https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_traefik/docker-compose.yml
## Backups
The service is running on retastokado, a 6TB ZFS mirrored pair at Scott's home.
It has limited upload speed. Sanoid is configured, via NixOS config, to keep 48
hourly, 14 daily, 3 monthly, and 1 yearly snapshot of the config (`/etc/ocis`)
and data (`/var/lib/ocis`) volumes. Adding another zpool at another location and
configuring Syncoid would provide a sound backup strategy.

View file

@ -16,6 +16,10 @@ services:
PROXY_HTTP_ADDR: 0.0.0.0:9200
PROXY_TLS: false
OCIS_URL: https://${PUBLIC_URL}
# fulltext search
SEARCH_EXTRACTOR_TYPE: search
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://search:9998
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"
networks: [ web ]
labels:
traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`)
@ -23,6 +27,13 @@ services:
traefik.http.routers.ocis.tls.certresolver: letsencrypt
traefik.enable: true
search:
image: apache/tika:latest-full
networks: [ internal ]
restart: always
networks:
web:
external: true
internal:
internal: true