All Projects → eXtalionLab → nextcloud_docker

eXtalionLab / nextcloud_docker

Licence: MIT license
Docker setup to run Nextcloud

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to nextcloud docker

nextcloud-docker-compose
☁️ Spin up a Nextcloud instance with automatied backups and SSL certificate issuance.
Stars: ✭ 69 (+97.14%)
Mutual labels:  nextcloud, self-hosted
self-hosted-services
A core set of privacy-preserving services that can be easily self-hosted via Docker Compose.
Stars: ✭ 123 (+251.43%)
Mutual labels:  nextcloud, self-hosted
SaorTech-cloud-services
A range of scripts to provision and configure open source cloud services.
Stars: ✭ 23 (-34.29%)
Mutual labels:  nextcloud, self-hosted
Xsrv
[mirror] Install and manage self-hosted services/applications, on your own server(s) - ansible collection and utilities
Stars: ✭ 89 (+154.29%)
Mutual labels:  nextcloud, self-hosted
treafik nxtcloud
A dockerized Nextcloud instance served with traefik
Stars: ✭ 19 (-45.71%)
Mutual labels:  nextcloud, nextcloud-docker
talk-ios
📱😀 Video & audio calls through Nextcloud on iOS
Stars: ✭ 99 (+182.86%)
Mutual labels:  nextcloud, nextcloud-talk
nextcloud-talk-bot-framework
A framework for writing Nextcloud Talk chatbots with every language that supports gRPC.
Stars: ✭ 23 (-34.29%)
Mutual labels:  nextcloud, nextcloud-talk
mmb
Set of Dockerfiles and assets related to them for building Docker images with different services
Stars: ✭ 34 (-2.86%)
Mutual labels:  nextcloud, coturn
Calendar
📆 Calendar app for Nextcloud
Stars: ✭ 620 (+1671.43%)
Mutual labels:  nextcloud, self-hosted
Hrcloud2
A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!
Stars: ✭ 134 (+282.86%)
Mutual labels:  nextcloud, self-hosted
viewer
🖼 Simple file viewer with slideshow for media
Stars: ✭ 68 (+94.29%)
Mutual labels:  nextcloud
aws-serverless-nextcloud
moved - https://github.com/f7o/aws-serverless-nextcloud
Stars: ✭ 78 (+122.86%)
Mutual labels:  nextcloud
frequency
Frequency Analytics - Open source private web analytics server
Stars: ✭ 67 (+91.43%)
Mutual labels:  self-hosted
osmosfeed
Turn GitHub into an RSS reader
Stars: ✭ 839 (+2297.14%)
Mutual labels:  self-hosted
Proxmox
Proxmox Helper Scripts
Stars: ✭ 3,882 (+10991.43%)
Mutual labels:  self-hosted
rocket2
🚀 The official UBC Launch Pad Slack bot and team management platform
Stars: ✭ 17 (-51.43%)
Mutual labels:  self-hosted
laravel-analytics
Analytics for the Laravel framework.
Stars: ✭ 138 (+294.29%)
Mutual labels:  self-hosted
nextcloud announcements
ℹ️ The latest Nextcloud news directly in your notifications
Stars: ✭ 16 (-54.29%)
Mutual labels:  nextcloud
vindigo
📝 A brand new kanban inspired planning tool for all your projects. 💻
Stars: ✭ 52 (+48.57%)
Mutual labels:  self-hosted
promo
🎉 Stickers, shirts, presentations etc!
Stars: ✭ 16 (-54.29%)
Mutual labels:  nextcloud

Nextcloud with docker

Install

Copy .env.dist to .env and edit values to your needs:

cp .env.dist .env
vim .env

Build docker images:

docker-compose -f docker-compose.build.yml build --pull

Run docker stock:

docker-compose up [-d]

Goto http://localhost:$NEXTCLOUD_PORT and follow Nextcloud installation instructions.

Log level

To "increase" performance you can set log level to error:

bin/occ log:manage --level=error

Improving Nextcloud Previews

According to this article Preview mechanism need some tuning.

Install Nextcloud app and setup recommended configurations:

bin/occ config:app:set previewgenerator squareSizes --value="32 256"
bin/occ config:app:set previewgenerator widthSizes  --value="256 384"
bin/occ config:app:set previewgenerator heightSizes --value="256"
bin/occ config:system:set preview_max_x --value 2048
bin/occ config:system:set preview_max_y --value 2048
bin/occ config:system:set jpeg_quality --value 60
bin/occ config:app:set preview jpeg_quality --value="60"

If you want to start from scratch you can delete preview folder:

rm -rf ./data/appdata_*/preview

And regenerate previews first time by:

bin/occ preview:generate-all -vvv

Full Text Search

To improve search result we can install:

goto settings, select Elasticsearch from select box, as an address type http://elasticsearch:9200 and setup index to nextcloud_index.

For first index run:

bin/occ fulltextsearch:index

Collabora online

If you want to run collabora online locally and you don't have a reverse proxy, you have to add nginx and collabora to your /etc/hosts:

127.0.0.1 collabora
127.0.0.1 nginx

For nextcloud (docker service) collabora is avaliable under collabora host and it has to be the same host for a client (your browser).

For collabora (docker service) nextcloud is avaliable under nginx host and you have to access nextcloud instance via http://nginx:$NEXTCLOUD_PORT.


Install richdocuments, goto settings, select Use your own server and as an url put http://collabora:9980.

Done!

Reverse proxy

Basic nginx configuration for reverse proxy is avaliable here.

Update Server > Domain names and Reverse proxy > proxy_pass ports (read ports from your .env file).

Remove include nginxconfig.io/security.conf; from nextcloud domain conf. Docker nginx service conf is build base on Nextcloud example.

In .env file you have to change:

NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.example.com
COLLABORA_CERT_DOMAIN=collabora.example.com
COLLABORA_SERVER_NAME=collabora.example.com
COLLABORA_DOMAIN=nextcloud.example.com

If you have install nextcloud already, in ./config/config.php:

  • add nextcloud.example.pl to trusted_domains array,
  • change overwrite.cli.url to nextcloud.example.pl.

If you have setup collabora online, you have to update URL (and Port) of Collabora Online-server to collabora.example.com.

Reload docker:

docker-compose up [-d]

Talk (STUN / TURN)

If you have install talk app and you want to "increase" performance and have video calls, you have to set up your own STUN/TURN server.

In .env change COTURN_REALM to your nextcloud domain, goto settings and set:

  • STUN server to your-server-ip:$COTURN_PORT,
  • TURN server to your-server-ip:$COTURN_PORT,
  • TURN secret to $COTURN_SECRET.

Notify Push

To configure notify_push app:

  • Install the notify_push app from the appstore,
  • Restart nextcloud service (docker-compose restart nextcloud),
  • set the url of the push server (bin/occ notify_push:setup http://domain/push)

If you got push server is not a trusted proxy then you have to add displayed proxies in config/config.php to trusted_proxies.

Update / Deploy

Update images names (.env *_IMAGE) which point to your hub.

Run:

docker-compose -f docker-compose.build.yml build --pull

If you didn't build images on the server run:

docker-compose -f docker-compose.build.yml push

On the server run:

docker-compose pull
docker-compose up -d
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].