diff --git a/apps/api/src/.env.development b/apps/api/src/.env.development index 1fa679e99c5..2bee90979c8 100644 --- a/apps/api/src/.env.development +++ b/apps/api/src/.env.development @@ -67,3 +67,4 @@ INTERCOM_IDENTITY_VERIFICATION_SECRET_KEY= LAUNCH_DARKLY_SDK_KEY= IS_API_IDEMPOTENCY_ENABLED=false +AUTO_CREATE_INDEXES=true diff --git a/apps/api/src/.env.production b/apps/api/src/.env.production index 6936de8f8f4..d7fe721448c 100644 --- a/apps/api/src/.env.production +++ b/apps/api/src/.env.production @@ -56,3 +56,5 @@ INTERCOM_IDENTITY_VERIFICATION_SECRET_KEY= LAUNCH_DARKLY_SDK_KEY= IS_API_IDEMPOTENCY_ENABLED=false +## This value should be set to true if it is the first time you are running the with the database +AUTO_CREATE_INDEXES=false diff --git a/apps/api/src/.env.test b/apps/api/src/.env.test index 31f183d0f2b..4c4e94f8a1f 100644 --- a/apps/api/src/.env.test +++ b/apps/api/src/.env.test @@ -21,7 +21,7 @@ REDIS_CACHE_CONNECTION_TIMEOUT= REDIS_CACHE_KEEP_ALIVE= REDIS_CACHE_FAMILY= REDIS_CACHE_KEY_PREFIX= -REDIS_CACHE_ENABLE_AUTOPIPELINING=false +REDIS_CACHE_ENABLE_AUTOPIPELINING=false IS_REQUEST_RATE_LIMITING_ENABLED=false IS_IN_MEMORY_CLUSTER_MODE_ENABLED=false @@ -92,3 +92,4 @@ NOVU_SMS_INTEGRATION_TOKEN=test NOVU_SMS_INTEGRATION_SENDER=1234567890 IS_API_IDEMPOTENCY_ENABLED=true +AUTO_CREATE_INDEXES=true diff --git a/apps/inbound-mail/.example.env b/apps/inbound-mail/.example.env index cb33a758e93..3cda03eb73a 100644 --- a/apps/inbound-mail/.example.env +++ b/apps/inbound-mail/.example.env @@ -7,3 +7,5 @@ REDIS_HOST="localhost" REDIS_PORT="6379" LOGGING_LEVEL=info +## This value should be set to true if it is the first time you are running the with the database +AUTO_CREATE_INDEXES=false diff --git a/apps/worker/src/.env.development b/apps/worker/src/.env.development index 84ef802331a..7f599a088bb 100644 --- a/apps/worker/src/.env.development +++ b/apps/worker/src/.env.development @@ -67,3 +67,5 @@ NEW_RELIC_APP_NAME="[DEV] - worker" # Launch Darkly LAUNCH_DARKLY_SDK_KEY= + +AUTO_CREATE_INDEXES=true diff --git a/apps/worker/src/.env.production b/apps/worker/src/.env.production index 391b9be2e6c..f98009abe3f 100644 --- a/apps/worker/src/.env.production +++ b/apps/worker/src/.env.production @@ -70,3 +70,7 @@ NEW_RELIC_APP_NAME="[PROD] - worker" # Launch Darkly LAUNCH_DARKLY_SDK_KEY= + + +## This value should be set to true if it is the first time you are running the with the database +AUTO_CREATE_INDEXES=false diff --git a/apps/worker/src/.env.test b/apps/worker/src/.env.test index 1ab03f2740d..c7966197604 100644 --- a/apps/worker/src/.env.test +++ b/apps/worker/src/.env.test @@ -72,3 +72,5 @@ LOGGING_LEVEL=error # Launch Darkly LAUNCH_DARKLY_SDK_KEY= + +AUTO_CREATE_INDEXES=true diff --git a/apps/ws/src/.env.development b/apps/ws/src/.env.development index 8eac9074863..fd24ac4b07d 100644 --- a/apps/ws/src/.env.development +++ b/apps/ws/src/.env.development @@ -14,3 +14,5 @@ NEW_RELIC_ENABLED=true NEW_RELIC_APP_NAME="[DEV] - ws" NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true LOGGING_LEVEL=info + +AUTO_CREATE_INDEXES=true diff --git a/apps/ws/src/.env.production b/apps/ws/src/.env.production index 000ab6edfee..d043a8faff8 100644 --- a/apps/ws/src/.env.production +++ b/apps/ws/src/.env.production @@ -12,3 +12,6 @@ NEW_RELIC_ENABLED=true NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true LOGGING_LEVEL=info MONGO_MIN_POOL_SIZE=50 + +## This value should be set to true if it is the first time you are running the with the database +AUTO_CREATE_INDEXES=false diff --git a/apps/ws/src/.env.test b/apps/ws/src/.env.test index 35a085e1704..93d25a0ec66 100644 --- a/apps/ws/src/.env.test +++ b/apps/ws/src/.env.test @@ -11,3 +11,4 @@ GLOBAL_CONTEXT_PATH= WS_CONTEXT_PATH= LOGGING_LEVEL=error +AUTO_CREATE_INDEXES=true