2022-12-24 13:01:51 +01:00
---
gitea: none
include_toc: true
---
2023-08-11 09:38:05 +02:00
[Return to the list of application services. ](../README.md )
2022-12-24 13:01:51 +01:00
# nextcloud
2023-08-02 09:26:54 +02:00
## Synopsis
2022-12-24 13:01:51 +01:00
2023-08-11 09:38:05 +02:00
[Nextcloud, Online collaboration platform. ](https://nextcloud.com/ )
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
## Basic variables
2023-08-01 15:13:17 +02:00
2023-08-11 09:38:05 +02:00
### General
2023-08-01 15:13:17 +02:00
2023-08-02 09:26:54 +02:00
#### Reverse proxy
2023-08-01 15:13:17 +02:00
2023-08-11 09:38:05 +02:00
##### Clients configuration
2023-08-02 09:26:54 +02:00
2023-08-10 21:55:46 +02:00
This family is a leadership.
2023-08-02 09:26:54 +02:00
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
| ** [general.revprox.revprox_client.revprox_client_external_domainnames ](dictionaries/21_revprox_client.xml )**< br /> mandatory, multiple< br /> **Type:** [`domainname` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Service external domain name.< br /> **Example:** service.example.net |
| ** [general.revprox.revprox_client.revprox_client_location ](dictionaries/21_revprox_client.xml )**< br /> mandatory< br /> **Type:** [`filename` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | URI to route request to the correct service.< br /> **Default:** / |
2023-08-02 09:26:54 +02:00
#### Nextcloud
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|
| ** [general.nextcloud.nextcloud_mail_admin ](dictionaries/31_nextcloud.xml )**< br /> mandatory< br /> **Type:** [`mail` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | The administrator email.< br /> **Example:** admin@example.net |
2023-08-02 09:26:54 +02:00
## Variables for expert
2023-08-11 09:38:05 +02:00
### General
2023-08-02 09:26:54 +02:00
#### PHP
Paramètrage avancé de PHP.
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| ** [general.php.php_post_max_size ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Maximum size of POST data that PHP will accept.< br /> Value in Mb.< br /> **Default:** 32 |
| ** [general.php.php_upload_max_filesize ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Maximum allowed size for uploaded files.< br /> Value in Mb.< br /> **Default:** 16 |
| ** [general.php.php_max_execution_time ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Maximum amount of time each script may spend parsing request data.< br /> Value in seconds.< br /> **Default:** 30 |
| ** [general.php.php_max_input_time ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Maximum amount of time each script may spend parsing request data.< br /> Value in seconds.< br /> **Default:** 60 |
| ** [general.php.php_memory_limit ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Maximum amount of memory a script may consume.< br /> Value in Mb.< br /> **Default:** 512 |
| ** [general.php.php_session_gc_maxlifetime ](dictionaries/20_php.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Data will be seen as 'garbage' and potentially cleaned up after this delay.< br /> Value in seconds.< br /> **Default:** 3600 |
2023-08-02 09:26:54 +02:00
#### Apache
2023-08-11 09:38:05 +02:00
Advance Apache web server settings.
2023-08-02 09:26:54 +02:00
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| ** [general.apache.apache_timeout ](dictionaries/20_web.xml )**< br /> mandatory< br /> **Type:** [`number` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Amount of time the server will wait for certain events before failing a request.< br /> Time in seconds.< br /> **Default:** 300 |
| ** [general.apache.apache_keepalive ](dictionaries/20_web.xml )**< br /> mandatory< br /> **Type:** [`boolean` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Enables HTTP persistent connections.< br /> **Default:** True |
2023-08-02 09:26:54 +02:00
2023-08-11 09:38:05 +02:00
#### OpenLDAP directory
2023-08-02 09:26:54 +02:00
##### Client
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| ** [general.ldap.client.ldapclient_family ](dictionaries/21_ldap-client.xml )**< br /> **Type:** [`unix_user` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Restrict service configuration for a LDAP family.< br /> "all" for all families. |
2023-08-02 09:26:54 +02:00
#### Reverse proxy
2023-08-01 15:13:17 +02:00
2023-08-11 09:38:05 +02:00
##### Clients configuration
2023-08-02 09:26:54 +02:00
2023-08-10 21:55:46 +02:00
This family is a leadership.
2023-08-02 09:26:54 +02:00
2023-08-11 09:38:05 +02:00
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| ** [general.revprox.revprox_client.revprox_client_max_body_size ](dictionaries/21_revprox_client.xml )**< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | The maximum allowed size of the client request body. |
2023-08-02 09:26:54 +02:00
#### OAuth2 client
| Parameter | Comments |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
| ** [general.oauth2_client.oauth2_client_name ](dictionaries/31_nextcloud.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 client name.< br /> **Default:** Collaboration< br /> **Example:** example |
| ** [general.oauth2_client.oauth2_client_description ](dictionaries/31_nextcloud.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 client description.< br /> **Default:** Plateforme de collaboration Nextcloud< br /> **Example:** Example description |
| ** [general.oauth2_client.oauth2_client_login ](dictionaries/30_oauth2_client.xml )**< br /> **Type:** [`web_address` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 URL to valid login. |
##### external
| Parameter | Comments |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|
| ** [general.oauth2_client.external.oauth2_client_external ](dictionaries/30_oauth2_client.xml )**< br /> mandatory, multiple< br /> **Type:** [`web_address` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 client external.< br /> **Default:** *calculated* |
| ** [general.oauth2_client.external.oauth2_client_family ](dictionaries/30_oauth2_client.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 family.< br /> **Default:** users |
| Parameter | Comments |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|
| ** [general.oauth2_client.oauth2_client_category ](dictionaries/31_nextcloud.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 category.< br /> **Default:** Diffusion |
| ** [general.oauth2_client.oauth2_client_logo ](dictionaries/31_nextcloud.xml )**< br /> mandatory< br /> **Type:** [`string` ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | OAuth2 logo.< br /> **Default:** silique_folder.png |
## Requirements services
2023-08-11 09:38:05 +02:00
### Mandatories
- LocalDNS: [nsd-local ](../nsd-local/README.md )
- SMTP: [postfix-relay ](../postfix-relay/README.md )
- LDAP: [openldap ](../openldap/README.md )
- ReverseProxy: [nginx-reverse-proxy ](../nginx-reverse-proxy/README.md )
- Postgresql: [postgresql ](../postgresql/README.md )
- OAuth2: [lemonldap ](../lemonldap/README.md )
- Redis: [redis ](../redis/README.md )
### Optionals
- Journald: [vector ](../vector/README.md )
2023-08-02 09:26:54 +02:00
**bold**: provider is mandatory
## Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
2023-08-01 15:13:17 +02:00
```
nextcloud:
applicationservice: nextcloud
zones_name:
- ldap
- localdns
- oauth2
- postgresql
2023-08-11 09:38:05 +02:00
- redis
- reverseproxy
- smtp
2023-08-02 09:26:54 +02:00
values:
general.revprox.revprox_client.revprox_client_external_domainnames:
- service.example.net
general.nextcloud.nextcloud_mail_admin: admin@example.net
2023-08-01 15:13:17 +02:00
```
2022-12-24 13:01:51 +01:00
## Dependances
- [base-fedora-36 ](../base-fedora-36/README.md )
- [base-fedora ](../base-fedora/README.md )
- [systemd ](../systemd/README.md )
- [base-machine ](../base-machine/README.md )
- [base ](../base/README.md )
- [dns-local ](../dns-local/README.md )
2023-02-14 14:24:16 +01:00
- [pki-tls ](../pki-tls/README.md )
2023-06-29 18:56:46 +02:00
- [journald ](../journald/README.md )
2023-07-31 18:41:59 +02:00
- [resolved ](../resolved/README.md )
2022-12-24 13:01:51 +01:00
- [postgresql-client ](../postgresql-client/README.md )
2022-12-25 20:23:58 +01:00
- [ldap-client ](../ldap-client/README.md )
2022-12-24 13:01:51 +01:00
- [redis-client ](../redis-client/README.md )
2023-06-29 18:56:46 +02:00
- [redis-common ](../redis-common/README.md )
2022-12-24 13:01:51 +01:00
- [oauth2-client ](../oauth2-client/README.md )
- [relay-mail-client ](../relay-mail-client/README.md )
- [apache ](../apache/README.md )
- [reverse-proxy-client ](../reverse-proxy-client/README.md )
- [php-fpm ](../php-fpm/README.md )
- [php ](../php/README.md )