eolisation
This commit is contained in:
32
tmpl/schedule-env.local
Normal file
32
tmpl/schedule-env.local
Normal file
@@ -0,0 +1,32 @@
|
||||
# Basic = Redefine local
|
||||
APP_ENV=prod
|
||||
APP_SECRET=%%schedule_api_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
|
Reference in New Issue
Block a user