32 lines
771 B
Plaintext
32 lines
771 B
Plaintext
# Basic = Redefine local
|
|
APP_ENV=prod
|
|
APP_SECRET=%%pwdreader("","/var/www/html/schedule/.key")
|
|
APP_AUTH=CAS
|
|
|
|
|
|
# Bdd = Redefine local
|
|
DATABASE_NAME=schedule
|
|
DATABASE_USER=schedule
|
|
DATABASE_PASSWORD=tochange
|
|
%if %%getVar("ninegate_db_mode", 'non') == "externe"
|
|
DATABASE_HOST=%%ninegate_dbserver
|
|
%else if %%getVar("ninegate_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=localhost
|
|
%end if
|
|
%end if
|
|
%else
|
|
DATABASE_HOST=%%adresse_ip_mysql
|
|
%end if
|
|
|
|
|
|
# CAS = Redefine local
|
|
CAS_HOST=%%eolesso_adresse
|
|
CAS_PORT=%%eolesso_port
|
|
CAS_PATH=%%eolesso_cas_folder |