nineskeletor/tmpl/nineskeletor-env.local

40 lines
922 B
Plaintext

# Basic = Redefine local
APP_ALIAS=nineskeletor
APP_NAME=Nineskeletor
APP_ENV=prod
APP_SECRET=%%pwdreader("","/var/www/html/nineskeletor/.key")
APP_AUTH=CAS
# MAIL sendmail / smtp
MAILER_METHOD=sendmail
MAILER_URL=
MAILER_NOREPLY=noreply@noreply.fr
# Bdd = Redefine local
DATABASE_NAME=nineskeletor
DATABASE_USER=nineskeletor
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