ocis-deployment/docker-compose.yml

40 lines
940 B
YAML

version: '3.5'
services:
ocis:
image: owncloud/ocis
expose: [ 9200 ]
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
PROXY_TLS: false
OCIS_URL: https://${PUBLIC_URL}
# fulltext search
SEARCH_EXTRACTOR_TYPE: tika
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}`)
traefik.http.routers.ocis.tls: true
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