26 KiB
26 KiB
Table of Contents
piwigo
Synopsis
Piwigo, a photo management software.
Basic variables
MariaDB (general.mariadb)
| Description | Type | Supplier |
|---|---|---|
| Nom de domaine du serveur MariaDB (mariadb_client_server_domainname) | domainname | MariaDB |
Client SMTP (general.smtp)
| Description | Type | Supplier |
|---|---|---|
| Nom de domaine du serveur SMTP (smtp_relay_address) | domainname | SMTP |
Serveur (general.ldap.server)
| Description | Type | Supplier |
|---|---|---|
| Nom DNS du serveur LDAP (ldap_server_address) | domainname | LDAP |
Redis (general.redis)
| Description | Type | Supplier | Provider |
|---|---|---|---|
| Nom de domaine du serveur Redis (redis_client_server_domainname) | domainname | Redis | |
| Redis index (redis_client_index) | number | Redis:index |
OAuth2 client (general.oauth2_client)
| Description | Type | Supplier | Provider |
|---|---|---|---|
| OAuth2 server domain name (oauth2_client_server_domainname) | domainname | OAuth2 | |
| OAuth2 server external domain name (oauth2_server_domainname) | domainname | OAuth2:external_domain |
Piwigo (general.piwigo)
| Description | Type | Example |
|---|---|---|
| Adresse courriel de l'administrateur Piwigo (piwigo_admin_email) | admin@example.net |
Piwigo users (general.piwigo.users)
This a family is a leadership.
| Description | Type | Example |
|---|---|---|
| Adresse courriel (piwigo_email) | johndoe@example.net |
- [+]: variable is multiple
- bold: variable is mandatory
Variables
systemd-journald (general.journald)
| Description | Type | Supplier | Values |
|---|---|---|---|
| journal_client_server_domainname | domainname | Journald | |
| journal_host_name | domainname | Journald:host |
NGINX (general.nginx)
Paramétrage global de NGINX
| Description | Type | Values | Help |
|---|---|---|---|
| php_fpm_user | unix_user | nginx | |
| php_fpm_installed | boolean | True | |
| Nom de domaine du serveur mandataire inverse par défaut (nginx_default) | domainname | Si un client accède au serveur avec un nom de domaine non déclaré, le flux est redirigé vers ce domaine |
Client (general.ldap.client)
| Description | Type | Supplier | Values |
|---|---|---|---|
| Nom de la famille LDAP (ldapclient_family) | unix_user | LDAP:family | |
| Base DN de l'annuaire (ldapclient_base_dn) | string | LDAP:base_dn | |
| Base DN de l'annuaire des utilisateurs (ldapclient_search_dn) | string | ||
| Base DN de l'annuaire des groupes (ldapclient_group_dn) | string | ||
| Base DN de l'annuaire des utilisateurs n'appartenant à une famille (ldapclient_user_dn) | string |
Point d'entrée des clients (general.revprox.revprox_client)
This a family is a leadership.
| Description | Type | Supplier |
|---|---|---|
| Nom de l'arborescence racine du site (revprox_client_location) | filename | ReverseProxy:location |
| Taille maximum du corps (revprox_client_max_body_size) | string | ReverseProxy:max_body_size |
Redis (general.redis)
| Description | Values | Supplier | Type |
|---|---|---|---|
| Nom d'utilisateur (redis_client_username) | Redis:username | string | |
| Mot de passe de connexion (redis_client_password) | Redis:password | password |
OAuth2 client (general.oauth2_client)
| Description | Values | Example | Supplier | Type |
|---|---|---|---|---|
| OAuth2 client name (oauth2_client_name) | Album | example | OAuth2:name | string |
| OAuth2 client description (oauth2_client_description) | Album photographique Piwigo | Example description | OAuth2:description | string |
| OAuth2 URL to valid login (oauth2_client_login) | OAuth2:login | web_address | ||
| OAuth2 category (oauth2_client_category) | Diffusion | OAuth2:category | string | |
| OAuth2 logo (oauth2_client_logo) | silique_image.png | OAuth2:logo | string |
external (general.oauth2_client.external)
| Description | Type | Values | Supplier |
|---|---|---|---|
| OAuth2 client external (oauth2_client_external) [+] | web_address | OAuth2:external | |
| OAuth2 family (oauth2_client_family) | string | users | OAuth2:family |
Piwigo (general.piwigo)
| Description | Values |
|---|---|
| Titre de l'album (piwigo_title) | Album photographique |
- [+]: variable is multiple
- bold: variable is mandatory
Variables for expert
PHP (general.php)
Paramètrage avancé de PHP
| Description | Help | Type | Values |
|---|---|---|---|
| Taille maximale des données reçues par la méthode POST (php_post_max_size) | Valeur en Mo | number | 32 |
| Taille maximale d'un fichier à charger (php_upload_max_filesize) | Valeur en Mo | number | 16 |
| Temps maximal d'exécution d'un script (php_max_execution_time) | Valeur en secondes | number | 30 |
| Durée maximale pour analyser les données d'entrée (php_max_input_time) | Valeur en secondes | number | 60 |
| Taille mémoire maximale qu'un script est autorisé à allouer (php_memory_limit) | Valeur en Mo | number | 512 |
| Affichage des erreurs à l'écran (php_display_errors) | boolean | False | |
| Durée de vie des données sur le serveur (php_session_gc_maxlifetime) | Valeur en secondes | number | 3600 |
| Activer la directive de configuration browscap (php_browscap) | La directive de configuration browscap permet d'obtenir plus d'information sur les capacités du navigateur client grâce à la fonction get_browser() | boolean | False |
| Fuseau horaire (time_zone) | string | Europe/Paris | |
| Activer les tampons de sortie (php_enable_output_buffering) | boolean | True | |
| Désactiver PCNTL (php_disable_pcntl) | boolean | True |
NGINX (general.nginx)
Paramétrage global de NGINX
| Description | Type | Values | Choices |
|---|---|---|---|
| Longueur maximum pour un nom de domaine (nginx_hash_bucket_size) | choice | 128 | 128 64 32 |
| Taille maximale des données reçues par la méthode POST (en Mo) (nginx_post_max_size) | number | 32 |
Point d'entrée des clients (general.revprox.revprox_client)
This a family is a leadership.
| Description | Type | Example | Supplier |
|---|---|---|---|
| Nom de domaine exterieur du serveur (revprox_client_external_domainnames) [+] | domainname | service.example.net | ReverseProxy:external |
Piwigo users (general.piwigo.users)
This a family is a leadership.
| Description | Type | Example |
|---|---|---|
| Utilisateur ayant un album (piwigo_users) [+] | unix_user | jdoe |
- [+]: variable is multiple
- bold: variable is mandatory
Examples
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
With minimum providers:
piwigo:
applicationservice: piwigo
zones_name:
- ldap
- localdns
- mariadb
- reverseproxy
- smtp
- redis
- oauth2
values:
general.revprox.revprox_client.revprox_client_external_domainnames:
- service.example.net
general.piwigo.piwigo_admin_email: admin@example.net
general.piwigo.users.piwigo_users:
- jdoe
general.piwigo.users.piwigo_email:
'0': johndoe@example.net
With all providers:
piwigo:
applicationservice: piwigo
zones_name:
- journald
- ldap
- localdns
- mariadb
- reverseproxy
- smtp
- redis
- oauth2
values:
general.revprox.revprox_client.revprox_client_external_domainnames:
- service.example.net
general.piwigo.piwigo_admin_email: admin@example.net
general.piwigo.users.piwigo_users:
- jdoe
general.piwigo.users.piwigo_email:
'0': johndoe@example.net