Browse Source

add env bars

itizawa 5 years ago
parent
commit
4b99bb6b4a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/server/service/config-loader.js

+ 12 - 0
src/server/service/config-loader.js

@@ -332,6 +332,12 @@ const ENV_VAR_NAME_TO_CONFIG_INFO = {
     type:    TYPES.STRING,
     type:    TYPES.STRING,
     default: null,
     default: null,
   },
   },
+  S3_IS_ENABLED_INTERNAL_STREAM_SYSTEM: {
+    ns:      'crowi',
+    key:     'aws:isEnabledInternalStreamSystem',
+    type:    TYPES.BOOLEAN,
+    default: false,
+  },
   GCS_API_KEY_JSON_PATH: {
   GCS_API_KEY_JSON_PATH: {
     ns:      'crowi',
     ns:      'crowi',
     key:     'gcs:apiKeyJsonPath',
     key:     'gcs:apiKeyJsonPath',
@@ -350,6 +356,12 @@ const ENV_VAR_NAME_TO_CONFIG_INFO = {
     type:    TYPES.STRING,
     type:    TYPES.STRING,
     default: null,
     default: null,
   },
   },
+  GCS_IS_ENABLED_INTERNAL_STREAM_SYSTEM: {
+    ns:      'crowi',
+    key:     'gcs:isEnabledInternalStreamSystem',
+    type:    TYPES.BOOLEAN,
+    default: false,
+  },
   GCS_USES_ONLY_ENV_VARS_FOR_SOME_OPTIONS: {
   GCS_USES_ONLY_ENV_VARS_FOR_SOME_OPTIONS: {
     ns:      'crowi',
     ns:      'crowi',
     key:     'gcs:useOnlyEnvVarsForSomeOptions',
     key:     'gcs:useOnlyEnvVarsForSomeOptions',