19 KiB
19 KiB
Table of Contents
odoo
Synopsis
Odoo, an ERP and CRM.
Basic variables
Général
Reverse proxy
Point d'entrée des clients
This a family is a leadership.
| Parameter | Comments |
|---|---|
| general.revprox.revprox_client.revprox_client_external_domainnames mandatory, multiple Type: [domainname](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Nom de domaine exterieur du serveur. Example: service.example.net |
| general.revprox.revprox_client.revprox_client_location mandatory Type: [filename](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Nom de l'arborescence racine du site. |
Odoo
| Parameter | Comments |
|---|---|
| general.odoo.odoo_admin_email mandatory Type: [mail](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Adresse courriel de l'administrateur. Example: johndoe@example.net |
| general.odoo.odoo_company_name mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Nom. Example: ACME |
| general.odoo.odoo_company_street mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Adresse. Example: John Doe Street |
| general.odoo.odoo_company_city mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Ville. Example: Dijon |
| general.odoo.odoo_company_zip mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Code postal. Example: 21000 |
| general.odoo.odoo_company_vat mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Numéro TVA. Example: FR 99999999999 |
| general.odoo.odoo_company_registry mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Registre de la société. Example: 999 999 999 00099 |
| general.odoo.odoo_company_phone Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Numéro de téléphone. |
| general.odoo.odoo_company_mobile Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Numéro de téléphone mobile. |
| general.odoo.odoo_company_email mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Adresse courriel. Example: johndoe@example.net |
| general.odoo.odoo_company_website mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Site internet. Example: https://example.net |
| general.odoo.odoo_company_logo mandatory Type: [filename](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Chemin du logo. Example: /home/jdoe/logo.png |
| general.odoo.odoo_company_footer mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Pied de page des documents. Example: foot |
| general.odoo.odoo_company_layout mandatory Type: [choice](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Agencement des documents. Choices: - standard ← (default)- bold- boxed- striped |
Variables for expert
Général
Annuaire OpenLDAP
Client
| Parameter | Comments |
|---|---|
| general.ldap.client.ldapclient_family Type: [unix_user](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Nom de la famille LDAP. |
| general.ldap.client.ldapclient_base_dn mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Base DN de l'annuaire. Default: calculated |
| general.ldap.client.ldapclient_search_dn mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Base DN de l'annuaire des utilisateurs. Default: calculated |
| general.ldap.client.ldapclient_group_dn mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Base DN de l'annuaire des groupes. Default: calculated |
| general.ldap.client.ldapclient_user_dn mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Base DN de l'annuaire des utilisateurs n'appartenant à une famille. Default: calculated |
NGINX
Paramétrage global de NGINX.
| Parameter | Comments |
|---|---|
| general.nginx.nginx_hash_bucket_size mandatory Type: [choice](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Longueur maximum pour un nom de domaine. Choices: - 128 ← (default)- 64- 32 |
| general.nginx.nginx_post_max_size mandatory Type: [number](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Taille maximale des données reçues par la méthode POST (en Mo). Default: 32 |
Reverse proxy
Point d'entrée des clients
This a family is a leadership.
| Parameter | Comments |
|---|---|
| general.revprox.revprox_client.revprox_client_max_body_size Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Taille maximum du corps. |
PostgreSQL
| Parameter | Comments |
|---|---|
| general.postgresql.pg_client_username mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Client username. Default: calculated |
| general.postgresql.pg_client_password mandatory Type: [password](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Client password. Default: calculated |
| general.postgresql.pg_client_database mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Client database. Default: calculated |
OAuth2 client
| Parameter | Comments |
|---|---|
| general.oauth2_client.oauth2_client_name mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
OAuth2 client name. Default: ERP Example: example |
| general.oauth2_client.oauth2_client_description mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
OAuth2 client description. Default: ERP Odoo Example: Example description |
| general.oauth2_client.oauth2_client_login 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 mandatory, multiple 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. Default: calculated |
| general.oauth2_client.external.oauth2_client_family mandatory, multiple Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
OAuth2 family. Default:
|
| general.oauth2_client.oauth2_client_category mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
OAuth2 category. Default: Entreprise |
| general.oauth2_client.oauth2_client_logo mandatory Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
OAuth2 logo. Default: silique_note.png |
Odoo
| Parameter | Comments |
|---|---|
| general.odoo.odoo_addons mandatory, multiple Type: [string](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable) |
Liste des applications à activer. Default:
|
Requirements services
- LocalDNS
- Journald
- SMTP
- LDAP
- ReverseProxy
- Postgresql
- OAuth2
bold: provider is mandatory
Example
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
odoo:
applicationservice: odoo
zones_name:
- ldap
- localdns
- reverseproxy
- smtp
- oauth2
- postgresql
values:
general.revprox.revprox_client.revprox_client_external_domainnames:
- service.example.net
general.odoo.odoo_admin_email: johndoe@example.net
general.odoo.odoo_company_name: ACME
general.odoo.odoo_company_street: John Doe Street
general.odoo.odoo_company_city: Dijon
general.odoo.odoo_company_zip: 21000
general.odoo.odoo_company_vat: FR 99999999999
general.odoo.odoo_company_registry: 999 999 999 00099
general.odoo.odoo_company_email: johndoe@example.net
general.odoo.odoo_company_website: https://example.net
general.odoo.odoo_company_logo: /home/jdoe/logo.png
general.odoo.odoo_company_footer: foot