2023-09-01 15:46:27 -04:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
services:
|
|
|
|
ocis:
|
|
|
|
image: owncloud/ocis
|
2023-09-02 07:17:07 -04:00
|
|
|
expose: [ 9200 ]
|
2023-09-01 15:46:27 -04:00
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: ./mounts/config
|
|
|
|
target: /etc/ocis
|
|
|
|
- type: bind
|
|
|
|
source: ./mounts/data
|
|
|
|
target: /var/lib/ocis
|
|
|
|
environment:
|
|
|
|
OCIS_INSECURE: 'true'
|
|
|
|
PROXY_HTTP_ADDR: 0.0.0.0:9200
|
2023-09-02 07:17:07 -04:00
|
|
|
PROXY_TLS: false
|
|
|
|
OCIS_URL: https://${PUBLIC_URL}
|
2023-09-16 09:06:35 -04:00
|
|
|
# fulltext search
|
|
|
|
SEARCH_EXTRACTOR_TYPE: tika
|
|
|
|
SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://search-engine:9998
|
|
|
|
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"
|
|
|
|
networks:
|
|
|
|
- web
|
|
|
|
- internal
|
2023-09-02 07:17:07 -04:00
|
|
|
labels:
|
|
|
|
traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`)
|
|
|
|
traefik.http.routers.ocis.tls: true
|
2023-09-02 07:35:21 -04:00
|
|
|
traefik.http.routers.ocis.tls.certresolver: letsencrypt
|
2023-09-02 07:32:41 -04:00
|
|
|
traefik.enable: true
|
2023-09-16 09:06:35 -04:00
|
|
|
depends_on: [ search-engine ]
|
|
|
|
|
|
|
|
search-engine:
|
|
|
|
image: apache/tika:latest-full
|
|
|
|
networks: [ internal ]
|
|
|
|
restart: always
|
2023-09-02 07:17:07 -04:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2023-09-16 09:06:35 -04:00
|
|
|
internal:
|
|
|
|
internal: true
|