Compare commits
2 commits
c7b4c28294
...
ac4dd7266b
Author | SHA1 | Date | |
---|---|---|---|
D. Scott Boggs | ac4dd7266b | ||
D. Scott Boggs | f395ea5f63 |
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue