ninegate/tmpl/cadolesuser-parameters.yml

44 lines
1.3 KiB
YAML

# This file is auto-generated during the composer install
parameters:
%if %%getVar("cadolesuser_db_mode", 'non') == "externe"
database_host: %%cadolesuser_dbserver
%if %%getVar('cadolesuser_dbport', 'non') != "non"
database_port: %%cadolesuser_dbport
%else
database_port: null
%end if
%else if %%getVar("cadolesuser_db_mode", 'non') == "default"
%set dbhost = %%getVar('edb_host', 'non')
%if %%dbhost == 'non' and %%mode_conteneur_actif == 'oui':
database_host: %%adresse_ip_mysql
%else
%if %%dbhost == 'non'
database_host: localhost
%else
database_host: %%edb_host
%end if
%end if
%if %%getVar('edb_port', 'non') != "non"
database_port: %%edb_port
%else
database_port: null
%end if
%else
database_host: %%adresse_ip_mysql
database_port: null
%end if
database_name: cadolesuser
database_user: cadolesuser
database_password: "changeme"
mailer_transport: smtp
%if %%is_defined("cadolesuser_smtphost")
mailer_host: '%%cadolesuser_smtphost'
mailer_user: '%%cadolesuser_smtpuser'
mailer_password: '%%pwdreader("",%%cadolesuser_smtppwd)'
%else
mailer_host: 'localhost'
mailer_user: ''
mailer_password: ''
%end if
secret: ThisTokenIsNotSoSecretChangeIt