3c217ae3fe7246867f3ee58999e9e25a7e7d871a
= Nextcloud with OCR and Elasticsearch for Full-Text Searching
To get elasticsearch to run, you'll need to run this on the host: sysctl -w vm.max_map_count=262144
You can build and start all three containers (nextcloud, db and elasticsearch) with:
$docker-compose up
Go to: http://[host]:9900/
Make up user/pass, I uncheck installing the additional apps at the bottom
Disable dashboard under user > settings
== OCR
- go into settings > basic settings > set cron
- install apps (workflow ocr)
- create flow: 2. add new ocr flow 2. when: file created 2. file mime type > is > pdf document 2. (USE IS AND NOT MATCHES!!!)
== Full text
- Install apps (full text, full text elastic, full text - files)
- To to Settings > Full Text Search
- Configure settings appropriately. Address is: http://user:pass@elasticsearch:9200/
- Now you have to run the fulltextsearch index manually one time 2. shell into container, enable www-data account (chsh) 2. go to /var/www/html and run: php occ fulltextsearch:index 2. disable www-data account (chsh back to nologin)
Description
Nextcloud docker with elasticsearch and functionality for OCR workflow and fulltext search.
Languages
Dockerfile
100%