Remove vagrant and add testing docker

This commit is contained in:
Thilina Pituwala
2020-05-23 20:01:53 +02:00
parent 1e50da36e6
commit c366248434
32 changed files with 3635 additions and 115 deletions

View File

@@ -4,13 +4,13 @@ ini_set('error_log', 'data/icehrm.log');
define('CLIENT_NAME', 'icehrm');
define('APP_BASE_PATH', '/var/www/html/core/');
define('CLIENT_BASE_PATH', '/var/www/html/app/');
define('BASE_URL','http://localhost:8080/web/');
define('CLIENT_BASE_URL','http://localhost:8080/app/');
define('BASE_URL','http://localhost/web/');
define('CLIENT_BASE_URL','http://localhost/app/');
define('APP_DB', 'dev');
define('APP_USERNAME', 'dev');
define('APP_PASSWORD', 'dev');
define('APP_HOST', 'mysql');
define('APP_DB', 'icehrm');
define('APP_USERNAME', 'prod');
define('APP_PASSWORD', 'prod');
define('APP_HOST', 'mysql-prod');
define('APP_CON_STR', 'mysqli://'.APP_USERNAME.':'.APP_PASSWORD.'@'.APP_HOST.'/'.APP_DB);
//file upload

View File

@@ -30,8 +30,8 @@ http {
# Default server definition
server {
listen [::]:8080 default_server;
listen 8080 default_server;
listen [::]:80 default_server;
listen 80 default_server;
server_name _;
sendfile off;

View File

@@ -1,4 +1,4 @@
use dev;
use icehrm;
create table `CompanyStructures` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,