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

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,7 @@
"bootstrap": "^4.0.0-beta.2",
"flag-icon-css": "^2.8.0",
"font-awesome": "^4.7.0",
"glamor": "^2.20.40",
"js-file-download": "^0.4.1",
"jwt-decode": "^2.2.0",
"moment": "^2.19.1",

View File

@@ -4,14 +4,14 @@ const API_VERSION = 'v2';
const API_SERVER_BASE = (() => {
if(APPLICAITON_MODE === 'TEST'){
return 'http://localhost/api-wiaas';
return 'http://localhost:8000/api-wiaas';
}
if(APPLICAITON_MODE === 'PROD'){
return 'http://localhost/api-wiaas';
return 'http://localhost:8000/api-wiaas';
}
return 'http://localhost/api-wiaas';
return 'http://localhost:8000/api-wiaas';
})();
const API_SERVER = API_SERVER_BASE + '/' + API_VERSION;