53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# Basic = Redefine local
|
|
APP_ENV=prod
|
|
APP_SECRET=%%pwdreader("","/var/www/html/schedule/.key")
|
|
APP_AUTH=CAS
|
|
|
|
|
|
# MAIL sendmail / smtp
|
|
MAILER_METHOD=smtp
|
|
MAILER_URL=%%getVar('schedule_email_url', '')
|
|
MAILER_NOREPLY=noreply@noreply.fr
|
|
MAILER_DEFAULT_NOTIF=%%getVar('schedule_email_global_notif', '')
|
|
|
|
# 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
|
|
|
|
OFFICE_HOUR_START=%%getVar('schedule_office_hour_start', '')
|
|
OFFICE_HOUR_END=%%getVar('schedule_office_hour_end', '')
|
|
|
|
## Sentry DSN
|
|
SENTRY_DSN=%%getVar('schedule_sentry_dsn', '')
|
|
|
|
## Dolibarr
|
|
%if %%getVar('schedule_dolibarr_api', '') == 'oui'
|
|
DOLIBARR_ACTIVE=true
|
|
%else
|
|
DOLIBARR_ACTIVE=false
|
|
%end if
|
|
DOLIBARR_API_KEY=%%getVar('schedule_dolibarr_apikey', '')
|
|
DOLIBARR_URI=%%getVar('schedule_dolibarr_uri', '') |