Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud Plus

What is this

This repository showcases an advanced Nextcloud installation. The following features are included:

  • postgres as database
  • caddy as reverse proxy (supports automatic TLS)
  • no nginx or apache
  • full text search using elasticsearch
  • OCR using tesseract

Setup

Prerequisites

Starting the server

docker-compose up -d

Contacts, Calendar integration

This is useful if you want to use Nextcloud to sync/backup your calendars, contacts and tasks from your phone.

docker-compose exec -u www-data nextcloud ./occ app:install contacts
docker-compose exec -u www-data nextcloud ./occ app:install calendar
docker-compose exec -u www-data nextcloud ./occ app:install tasks

Full text search

Install the following Nextcloud apps:

  • Full text search
  • Full text search - Elasticsearch Platform
  • Full text search - Files
docker-compose exec -u www-data nextcloud ./occ app:install fulltextsearch
docker-compose exec -u www-data nextcloud ./occ app:install fulltextsearch_elasticsearch
docker-compose exec -u www-data nextcloud ./occ app:install files_fulltextsearch
docker-compose exec -u www-data nextcloud ./occ app:install files_fulltextsearch_tesseract

Go to /settings/admin/fulltextsearch and configure elasticsearch:

  • Server address: http://elastic:mysecretpassword@elasticsearch:9200
  • Index: nextcloud_index (or whatever)
  • Analyzer tokenizer: standard
  • Local files: yes
  • External files: Index path and content
  • Index PDF: yes
  • Index Office-files: yes

In a terminal run:

docker-compose exec -u www-data nextcloud /var/www/html/occ fulltextsearch:index

Future index updates will be handled by the nextcloud cronjob.

Nextcloud configuration

SMTP

Go to /settings/admin. Enter SMTP data.

Default Phone Region

Edit the file nextcloud/config/custom.config.php.

TODO

  • Document env files
  • OCR using tesseract (Installed but not verified)
  • Check if fulltextsearch index update is performed with cron

About

Batteries included Nextcloud setup

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages