Ce dépôt contient le docker-compose pour nextcloud + onlyoffice avec front-end nginx, base de donnée et cron séparés.
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](https://gitlab.tetras-libre.fr/nocloud/docker/traefik) and a docker network called `traefik` to join it
+`ldap.yml` : setup connection to to a `ldap` service via a `ldap` 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 in `nginx.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
## Description du docker-compose
Docker-compose from https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud and https://hub.docker.com/_/nextcloud
Docker-compose from https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud and https://hub.docker.com/_/nextcloud
* Nextcloud installé via le tag 22-fpm (mise à jour manuelle pour changement de version majeure)
* Nextcloud installed via tag 22-fpm (major upgrade is manual)
* Mariadb installé via le tag `latest`
* Mariadb installed using tag `latest`
* Nginx installé via le tag `latest`
* Nginx installed using tag `latest`
*Aucun port n'ext exposé vers l'extérieur (utilisation de Traefik)