瀏覽代碼

make env vars default values non-production like

Olivier Massot 1 年之前
父節點
當前提交
a46176f2d8
共有 1 個文件被更改,包括 7 次插入8 次删除
  1. 7 8
      ot_core/ext_localconf.php

+ 7 - 8
ot_core/ext_localconf.php

@@ -37,14 +37,13 @@ $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['cre
 // In this case we merge them so that the pre-defined vars are not overridden.
 // In this case we merge them so that the pre-defined vars are not overridden.
 // (/!\ do not forget to clear the cache after any update here)
 // (/!\ do not forget to clear the cache after any update here)
 $GLOBALS['OT'] = array_merge([
 $GLOBALS['OT'] = array_merge([
-    'API_BASE_URI' => 'https://api.opentalent.fr',
-    'PUBLIC_API_BASE_URI' => 'https://api.opentalent.fr',
-    'DB_HOST' => 'prod-back',
+    'API_BASE_URI' => 'https://local.api.opentalent.fr',
+    'PUBLIC_API_BASE_URI' => 'https://local.api.opentalent.fr',
+    'DB_HOST' => 'db',
     'DB_USER' => 'dbcloner',
     'DB_USER' => 'dbcloner',
     'DB_PASSWORD' => 'wWZ4hYcrmHLW2mUK',
     'DB_PASSWORD' => 'wWZ4hYcrmHLW2mUK',
-    'FRAMES_BASE_URI' => 'https://frames.opentalent.fr',
-    'WEBSITE' => 'https://opentalent.fr',
-    'DASHBOARD_URL' => 'https://admin.opentalent.fr/#/dashboard',
-    'LOGIN_PAGE_URL' => 'https://admin.opentalent.fr/#/login',
-    'FILE_STORAGE_URL' => 'https://api.opentalent.fr/app.php/_internal/secure/files/'
+    'FRAMES_BASE_URI' => 'https://local.frames.opentalent.fr',
+    'WEBSITE' => 'https://local.opentalent.fr',
+    'DASHBOARD_URL' => 'https://local.admin.opentalent.fr/#/dashboard',
+    'LOGIN_PAGE_URL' => 'https://local.admin.opentalent.fr/#/login',
 ], ($GLOBALS['OT'] ?? []));
 ], ($GLOBALS['OT'] ?? []));