introduce docker - changed config files to work with docker

This commit is contained in:
GotPPay
2018-06-11 11:49:39 +02:00
parent ed7df7b11f
commit c21b30d288
11 changed files with 6626 additions and 3997 deletions

View File

@@ -34,12 +34,12 @@ if(APPLICATION_MODE === 'PROD'){
defined('ADMIN_MAIL') ? null : define('ADMIN_MAIL', 'dash-admin@saguaronet.ro');
defined('DB_SERVER') ? null : define('DB_SERVER', 'localhost:3306');
defined('DB_SERVER') ? null : define('DB_SERVER', 'db');
defined('DB_USER') ? null : define('DB_USER', 'developer');
defined('DB_PASS') ? null : define('DB_PASS', 'developer');
if(APPLICATION_MODE === 'TEST'){
defined('DB_NAME') ? null : define('DB_NAME', 'ricoh_dash_test');
defined('DB_NAME') ? null : define('DB_NAME', 'ricoh_dash');
}else{
defined('DB_NAME') ? null : define('DB_NAME', 'ricoh_dash');
}
@@ -149,7 +149,7 @@ const SUPPORT_MAIL_LIST = array(
const SESSION_LIFE_TIME = 60 * 24;
const WIAAS_URL = APPLICATION_MODE === 'PROD' ? 'http://localhost' : 'http://localhost';
const WIAAS_URL = APPLICATION_MODE === 'PROD' ? 'http://localhost:8000' : 'http://localhost:8000';
const WORKING_DAYS_KEY = 'you@gmail.com';
const JWT_API_SECRET_KEY = 'W11A$_AP1_S3CR3T';
const JWT_ALGORITHM ='HS512';