117 lines
4.9 KiB
YAML
117 lines
4.9 KiB
YAML
# This file is auto-generated during the composer install
|
|
parameters:
|
|
mode_auth: CAS # SQL / LDAP / CAS
|
|
|
|
libelle_etab: %%libelle_etab
|
|
numero_etab: %%numero_etab
|
|
|
|
ldap_host: %%adresse_ip_ldap
|
|
ldap_port: %%ldap_port
|
|
ldap_user: cn=admin,o=gouv,c=fr
|
|
ldap_password: %%pwdreader("",%%ldap_admin_passfile)
|
|
ldap_basedn: o=gouv,c=fr
|
|
|
|
%if %%getVar("cadolesuser_syncldap", 'non') == "oui"
|
|
ldap_sync: true
|
|
ldap_baseuser: ou=users,ou=%%cadolesuser_organization,o=gouv,c=fr
|
|
ldap_baseniveau01: ou=%%cadolesuser_niveau01branche,ou=%%cadolesuser_organization,o=gouv,c=fr
|
|
ldap_baseniveau02: ou=%%cadolesuser_niveau02branche,ou=%%cadolesuser_organization,o=gouv,c=fr
|
|
ldap_basegroup: ou=groups,ou=%%cadolesuser_organization,o=gouv,c=fr
|
|
moderegistration: %%cadolesuser_moderegistration # Mode de registration : none / byuser / byadmin
|
|
%else
|
|
ldap_sync: false
|
|
ldap_baseuser:
|
|
ldap_baseniveau01:
|
|
ldap_baseniveau02:
|
|
ldap_basegroup:
|
|
moderegistration: none # Mode de registration : none / byuser / byadmin
|
|
%end if
|
|
|
|
colormain: %%cadolesuser_colormain # Couleur principale
|
|
fontcolorhover: %%cadolesuser_fontcolorhover # Couleur des polices sur fond de couleur principale
|
|
keyterm: %%cadolesuser_keyterm # Taille mini du password
|
|
labelniveau01: %%cadolesuser_niveau01label # Label singulier du niveau 01 d'organisation
|
|
labelsniveau01: %%cadolesuser_niveau01labels # Label pluriel du niveau 01 d'organisation
|
|
iconniveau01: %%cadolesuser_niveau01icon # Icon du niveau 01 d'organisation
|
|
%if %%getVar("cadolesuser_niveau02view", 'non') == "oui"
|
|
viewniveau02: true # Gérer un niveau 02 d'organisation
|
|
labelniveau02: %%cadolesuser_niveau02label # Label singulier du niveau 02 d'organisation
|
|
labelsniveau02: %%cadolesuser_niveau02labels # Label pluriel du niveau 02 d'organisation
|
|
iconniveau02: %%cadolesuser_niveau02icon # Icon du niveau 02 d'organisation
|
|
%else
|
|
viewniveau02: false # Gérer un niveau 02 d'organisation
|
|
labelniveau02: niveau02 # Label singulier du niveau 02 d'organisation
|
|
labelsniveau02: niveaus02 # Label pluriel du niveau 02 d'organisation
|
|
iconniveau02: fa-sitemap # Icon du niveau 02 d'organisation
|
|
%end if
|
|
|
|
%if %%getVar("cadolesuser_synceportail", 'non') == "oui"
|
|
eportail_sync: true
|
|
eportail_url: /eportail
|
|
eportail_login: /eportail/login.php
|
|
eportail_database_host: '%database_host%'
|
|
eportail_database_port: 3306
|
|
eportail_database_name: eportail
|
|
eportail_database_user: eportail
|
|
eportail_database_password: "changme"
|
|
%else
|
|
eportail_sync: false
|
|
eportail_url: # /eportail
|
|
eportail_login: # /eportail/login.php
|
|
eportail_database_host: # 172.27.7.64
|
|
eportail_database_port: # 3306
|
|
eportail_database_name: # eportail
|
|
eportail_database_user: # eportail
|
|
eportail_database_password: # "changme"
|
|
%end if
|
|
|
|
%if %%is_defined("cadolesuser_smtpport")
|
|
mailer_port: '%%cadolesuser_smtpport'
|
|
mailer_encryption: %%cadolesuser_smtpencryption
|
|
mailer_authmode: %%cadolesuser_smtpauthmode
|
|
noreply: %%cadolesuser_noreply
|
|
%else
|
|
mailer_port: '2525'
|
|
mailer_encryption: null
|
|
mailer_authmode: null
|
|
noreply: %%system_mail_to
|
|
%end if
|
|
|
|
# Doctrine Configuration
|
|
doctrine:
|
|
dbal:
|
|
default_connection: default
|
|
connections:
|
|
default:
|
|
driver: pdo_mysql
|
|
host: '%database_host%'
|
|
port: '%database_port%'
|
|
dbname: '%database_name%'
|
|
user: '%database_user%'
|
|
password: '%database_password%'
|
|
charset: UTF8
|
|
%if %%getVar("cadolesuser_synceportail", 'non') == "oui"
|
|
eportail:
|
|
driver: pdo_mysql
|
|
host: '%eportail_database_host%'
|
|
port: '%eportail_database_port%'
|
|
dbname: '%eportail_database_name%'
|
|
user: '%eportail_database_user%'
|
|
password: '%eportail_database_password%'
|
|
charset: UTF8
|
|
%end if
|
|
orm:
|
|
default_entity_manager: default
|
|
entity_managers:
|
|
default:
|
|
connection: default
|
|
mappings:
|
|
CadolesCoreBundle: ~
|
|
%if %%getVar("cadolesuser_synceportail", 'non') == "oui"
|
|
eportail:
|
|
connection: eportail
|
|
mappings:
|
|
CadolesCoreBundle: ~
|
|
%end if
|
|
|
|
|