Files
schedule/tmpl/schedule-env.local

53 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2020-05-11 17:03:33 +02:00
# Basic = Redefine local
APP_ENV=prod
2020-05-12 08:45:19 +02:00
APP_SECRET=%%pwdreader("","/var/www/html/schedule/.key")
2020-05-11 17:03:33 +02:00
APP_AUTH=CAS
# MAIL sendmail / smtp
2021-06-07 13:58:56 +02:00
MAILER_METHOD=smtp
2020-11-03 09:53:16 +01:00
MAILER_URL=%%getVar('schedule_email_url', '')
MAILER_NOREPLY=noreply@noreply.fr
MAILER_DEFAULT_NOTIF=%%getVar('schedule_email_global_notif', '')
2020-05-11 17:03:33 +02:00
# 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
2020-09-01 10:43:05 +02:00
CAS_PATH=%%eolesso_cas_folder
2020-11-03 09:53:16 +01:00
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', '')