Nextcloud
This repository provides a quick way to laucndh nextcloud + only office (optionnal) behind nginx (optionnal) and with an ldap connection (optionnal).
Installation
The default docker-compose does not expose any ports.
There are three optionnals compose file that can be activated vi COMPOSE_FILE
variable in .env
:
-
traefik.yml
: a config file to use behind traefik, this file assumes that you have a traefik configured as here and a docker network calledtraefik
to join it -
ldap.yml
: setup connection to to aldap
service via aldap
network, you have to install this service by yourself -
onlyoffice.yml
add an onlyoffice server to your nextcloud, warning you also have to uncomment a few lines innginx.conf
cp .env.sample .env
cp nginx.conf.sample nginx.conf
# Edit both files to suit your needs
# You have to uncomment a block in nginx.conf if you want to use onlyoffice
docker-compose up -d
# Got to nextcloud url to finish the setup
Description du docker-compose
Docker-compose from https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud and https://hub.docker.com/_/nextcloud
- Nextcloud installed via tag 22-fpm (major upgrade is manual)
- Mariadb installed using tag
latest
- Nginx installed using tag
latest
- No port exposed to external network
- Nextcloud data are visible to
- cron
- nextcloud
- nginx