update nextcloud guide
This commit is contained in:
parent
b3697a6750
commit
bd0cb0cea6
@ -181,7 +181,7 @@ Nous avons besoin de créer les fichiers suivants pour qu'ils soient utilisés p
|
||||
|
||||
#### Internal.php
|
||||
|
||||
??? note "internal.php"
|
||||
??? note "Internal.php"
|
||||
```
|
||||
<?php
|
||||
|
||||
@ -619,6 +619,11 @@ Nous avons besoin de créer les fichiers suivants pour qu'ils soient utilisés p
|
||||
"webloc": ["application/internet-shortcut"]
|
||||
}
|
||||
```
|
||||
#### Création des dossiers pour les volumes permanents
|
||||
|
||||
sudo mkdir /data/nextcloud/{data,config,apps,mysql} -p
|
||||
sudo chown -R www-data:root /data/nextcloud
|
||||
sudo chown -R 999:root /data/nextcloud/mysql
|
||||
|
||||
### Fichiers de configuration pour Redis
|
||||
|
||||
@ -823,7 +828,7 @@ Ce fichier de configuration va déployer une image docker de nextcloud avec coll
|
||||
- MKNOD
|
||||
tty: true
|
||||
|
||||
paddb:
|
||||
paddb:
|
||||
restart: always
|
||||
image: "postgres:10"
|
||||
environment:
|
||||
@ -832,7 +837,8 @@ Ce fichier de configuration va déployer une image docker de nextcloud avec coll
|
||||
- POSTGRES_PASSWORD=changeme
|
||||
networks:
|
||||
- app
|
||||
etherpad:
|
||||
|
||||
etherpad:
|
||||
build:
|
||||
context: ./etherpad-lite
|
||||
ports:
|
||||
@ -879,9 +885,9 @@ Let's encrypt est un service qui permet de générer gratuitement un certificat
|
||||
```
|
||||
sudo apt install python3-acme python3-certbot python3-mock python3-openssl python3-pkg-resources python3-pyparsing python3-zope.interface
|
||||
sudo apt install python3-certbot-nginx
|
||||
sudo certbot -d nextcloud.mondomaine.fr
|
||||
sudo certbot -d collabora.mondomaine.fr
|
||||
sudo certbot -d pad.mondomaine.fr
|
||||
sudo certbot certonly -d nextcloud.mondomaine.fr
|
||||
sudo certbot certonly -d collabora.mondomaine.fr
|
||||
sudo certbot certonly -d pad.mondomaine.fr
|
||||
```
|
||||
**Les certificats sont alors crés dans `/etc/letsencrypt/nextcloud.mondomaine.fr`!**
|
||||
|
||||
@ -1115,3 +1121,13 @@ sudo systemctl reload nginx.service
|
||||
|
||||
??? info "Plus d'infos sur la configuration de Nginx"
|
||||
Plus d'infos sur [le guide Nginx de Linode](https://www.linode.com/docs/web-servers/nginx/)
|
||||
|
||||
## Configuration des applications dans Nextcloud
|
||||
|
||||
### Configuration de etherpad
|
||||
|
||||
Il est nécessaire de récupérer la API KEY générée par etherpad:
|
||||
docker-compose exec pad bash
|
||||
cat APIKEY.txt
|
||||
|
||||
On la saisit ensuite dans Nextcloud: `Settings > Administration > Additional settings`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user