ninestat/tmpl/ninestat-template.yml

94 lines
2.9 KiB
YAML

# This file is auto-generated during the composer install
parameters:
# Détermine la source de l'identité pour l'instant uniquement ninegate
masteridentity: %%ninegate_masteridentity
masterurl: %%ninestat_urlidentity
masterapikey: %%ninestat_apikeyidentity
# Mode d'authentification soit LDAP / CAS / SAML
# Pour l'instant SQL Impossible car l'identité est forcement stocké ailleurs donc il faut un autre moyen d'authentication
mode_auth: %%ninegate_mode_auth
# Paramétres de base
weburl: %%web_url
alias: ninestat
libelle_etab: %%libelle_etab
numero_etab: %%numero_etab
# Module cron
%if %%getVar("ninegate_activate_cron", 'non') == "oui"
cron_activate: true
%else
cron_activate: false
%end if
# Mail configuration
%if %%is_defined("ninestat_smtpport")
mailer_port: '%%ninestat_smtpport'
mailer_encryption: %%ninestat_smtpencryption
mailer_authmode: %%ninestat_smtpauthmode
noreply: %%ninestat_noreply
%else
mailer_port: '2525'
mailer_encryption: null
mailer_authmode: null
noreply: %%system_mail_to
%end if
# Information de base de l'annuaire
ldap_host: %%adresse_ip_ldap
ldap_port: %%ldap_port
%if %%getVar("activer_admin_passfile", 'non') == "oui"
ldap_user: cn=admin,o=gouv,c=fr
ldap_password: %%pwdreader("",%%ldap_admin_passfile)
%else
ldap_user: %%ldap_reader
ldap_password: %%pwdreader("",%%ldap_reader_passfile)
%end if
ldap_basedn: o=gouv,c=fr
# Si mode_auth = CAS
cas_host: %%eolesso_adresse
cas_path: %%eolesso_cas_folder
cas_port: %%eolesso_port
# Si mode_aut = SAML
saml_entityid: 'http://dev.nuonet.cadoles'
saml_logout_url: 'http://172.27.7.67:8088/idp/profile/Logout'
saml_idps_list: ['http://172.27.7.67:8088/idp/shibboleth']
# Si mode_auth = CAS ou SAML les attributs permettant de matché avec les utilisateurs
user_attr_cas_username: username
user_attr_cas_mail: email
user_attr_cas_lastname: lastname
user_attr_cas_firstname: firstname
user_attr_saml_username: eduPersonPrincipalName
user_attr_saml_mail: mail
user_attr_saml_lastname: sn
user_attr_saml_firstname: givenName
# 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
orm:
default_entity_manager: default
entity_managers:
default:
connection: default
mappings:
CadolesCoreBundle: ~
CadolesCronBundle: ~