Refactor env variables (#2094)

* Rename the env to sync with BE/Docker

* Refactor envs

* Use the env.yml strategy
This commit is contained in:
Maurizio Vitale
2021-04-28 15:14:20 +01:00
committed by GitHub
parent cc6bb7e95b
commit 4ebc7447f9
10 changed files with 35 additions and 248 deletions

View File

@@ -21,13 +21,13 @@ const width = 1366;
const height = 768;
const SAVE_SCREENSHOT = process.env.SAVE_SCREENSHOT === 'true';
const API_CONTENT_HOST = process.env.API_CONTENT_HOST || 'http://localhost:8080';
const APP_CONFIG_ECM_HOST = process.env.APP_CONFIG_ECM_HOST || 'http://localhost:8080';
const MAXINSTANCES = process.env.MAXINSTANCES || 1;
const MAX_RETRIES = process.env.MAX_RETRIES || 1;
const E2E_LOG_LEVEL = process.env.E2E_LOG_LEVEL || 'ERROR';
const appConfig = {
hostEcm: API_CONTENT_HOST,
hostEcm: APP_CONFIG_ECM_HOST,
providers: 'ECM',
authType: 'BASIC'
};