dataset/seed/piwigo/README.md
2023-08-10 21:58:39 +02:00

22 KiB

Table of Contents

piwigo

Synopsis

Piwigo, a photo management software.

Software's website.

Basic variables

Général

Reverse proxy

Point d'entrée des clients

This family is a leadership.

Parameter Comments
general.revprox.revprox_client.revprox_client_external_domainnames
mandatory, multiple
Type: domainname
Nom de domaine exterieur du serveur.
Example: service.example.net
general.revprox.revprox_client.revprox_client_location
mandatory
Type: filename
Nom de l'arborescence racine du site.

Piwigo

Parameter Comments
general.piwigo.piwigo_admin_email
mandatory
Type: mail
Adresse courriel de l'administrateur Piwigo.
Example: admin@example.net
Piwigo users

This family is a leadership.

Parameter Comments
general.piwigo.users.piwigo_users
mandatory, multiple
Type: unix_user
Utilisateur ayant un album.
Example: jdoe
general.piwigo.users.piwigo_email
mandatory
Type: mail
Adresse courriel.
Example: johndoe@example.net

Variables

Général

Piwigo

Parameter Comments
general.piwigo.piwigo_title
mandatory
Type: string
Titre de l'album.
Default: Album photographique

Variables for expert

Général

PHP

Paramètrage avancé de PHP.

Parameter Comments
general.php.php_post_max_size
mandatory
Type: number
Taille maximale des données reçues par la méthode POST.
Valeur en Mo.
Default: 32
general.php.php_upload_max_filesize
mandatory
Type: number
Taille maximale d'un fichier à charger.
Valeur en Mo.
Default: 16
general.php.php_max_execution_time
mandatory
Type: number
Temps maximal d'exécution d'un script.
Valeur en secondes.
Default: 30
general.php.php_max_input_time
mandatory
Type: number
Durée maximale pour analyser les données d'entrée.
Valeur en secondes.
Default: 60
general.php.php_memory_limit
mandatory
Type: number
Taille mémoire maximale qu'un script est autorisé à allouer.
Valeur en Mo.
Default: 512
general.php.php_display_errors
mandatory
Type: boolean
Affichage des erreurs à l'écran.
Default: False
general.php.php_session_gc_maxlifetime
mandatory
Type: number
Durée de vie des données sur le serveur.
Valeur en secondes.
Default: 3600
general.php.php_browscap
mandatory
Type: boolean
Activer la directive de configuration 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().
Default: False
general.php.time_zone
mandatory
Type: string
Fuseau horaire.
Default: Europe/Paris
general.php.php_enable_output_buffering
mandatory
Type: boolean
Activer les tampons de sortie.
Default: True
general.php.php_disable_pcntl
mandatory
Type: boolean
Désactiver PCNTL.
Default: True

NGINX

Paramétrage global de NGINX.

Parameter Comments
general.nginx.nginx_hash_bucket_size
mandatory
Type: choice
Longueur maximum pour un nom de domaine.
Choices:
- 128 ← default
- 64
- 32
general.nginx.nginx_post_max_size
mandatory
Type: number
Taille maximale des données reçues par la méthode POST (en Mo).
Default: 32

Annuaire OpenLDAP

Client
Parameter Comments
general.ldap.client.ldapclient_family
Type: unix_user
Nom de la famille LDAP.
general.ldap.client.ldapclient_base_dn
mandatory
Type: string
Base DN de l'annuaire.
Default: calculated
general.ldap.client.ldapclient_search_dn
mandatory
Type: string
Base DN de l'annuaire des utilisateurs.
Default: calculated
general.ldap.client.ldapclient_group_dn
mandatory
Type: string
Base DN de l'annuaire des groupes.
Default: calculated
general.ldap.client.ldapclient_user_dn
mandatory
Type: string
Base DN de l'annuaire des utilisateurs n'appartenant à une famille.
Default: calculated

Reverse proxy

Point d'entrée des clients

This family is a leadership.

Parameter Comments
general.revprox.revprox_client.revprox_client_max_body_size
Type: string
Taille maximum du corps.

Redis

Parameter Comments
general.redis.redis_client_username
mandatory
Type: string
Nom d'utilisateur.
Default: calculated
general.redis.redis_client_password
mandatory
Type: password
Mot de passe de connexion.
Default: calculated

OAuth2 client

Parameter Comments
general.oauth2_client.oauth2_client_name
mandatory
Type: string
OAuth2 client name.
Default: Album
Example: example
general.oauth2_client.oauth2_client_description
mandatory
Type: string
OAuth2 client description.
Default: Album photographique Piwigo
Example: Example description
general.oauth2_client.oauth2_client_login
Type: web_address
OAuth2 URL to valid login.
external
Parameter Comments
general.oauth2_client.external.oauth2_client_external
mandatory, multiple
Type: web_address
OAuth2 client external.
Default: calculated
general.oauth2_client.external.oauth2_client_family
mandatory
Type: string
OAuth2 family.
Default: users
Parameter Comments
general.oauth2_client.oauth2_client_category
mandatory
Type: string
OAuth2 category.
Default: Diffusion
general.oauth2_client.oauth2_client_logo
mandatory
Type: string
OAuth2 logo.
Default: silique_image.png

Requirements services

  • LocalDNS
  • Journald
  • MariaDB
  • SMTP
  • LDAP
  • ReverseProxy
  • Redis
  • OAuth2

bold: provider is mandatory

Example

Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.

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

Dependances

All applications services for this dataset.