Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

edit env example

Danny Avilaca3da2505a41
diff --git a/api/.env.example b/api/.env.example
index 00b229e4a3..ef0f5022c4 100644
--- a/api/.env.example
+++ b/api/.env.example
@@ -32,23 +32,31 @@ CHATGPT_TOKEN=
# Refresh the page and look at the response body for https://chat.openai.com/backend-api/models.
BROWSER_MODEL=
-# Enable Message/Convo Search
+# ENABLING SEARCH MESSAGES/CONVOS
# Requires installation of free self-hosted Meilisearch or Paid Remote Plan (Remote not tested)
# The easiest setup for this is through docker-compose, which takes care of it for you.
# SEARCH=TRUE
SEARCH=
+
# REQUIRED FOR SEARCH: MeiliSearch Host, mainly for api server to connect to the search server.
-MEILI_HOST='http://0.0.0.0:7700'
+# must replace '0.0.0.0' with 'meilisearch' if serving meilisearch with docker-compose
+# MEILI_HOST='http://0.0.0.0:7700'
+MEILI_HOST='http://meilisearch:7700'
+
# REQUIRED FOR SEARCH: MeiliSearch HTTP Address, mainly for docker-compose to expose the search server.
-MEILI_HTTP_ADDR='0.0.0.0:7700'
-# REQUIRED FOR SEARCH: needs a secure key, feel free to generate your own.
+# must replace '0.0.0.0' with 'meilisearch' if serving meilisearch with docker-compose
+# MEILI_HTTP_ADDR='0.0.0.0:7700'
+MEILI_HTTP_ADDR='meilisearch:7700'
+
+# REQUIRED FOR SEARCH: In production env., needs a secure key, feel free to generate your own.
# This master key must be at least 16 bytes, composed of valid UTF-8 characters.
# Meilisearch will throw an error and refuse to launch if no master key is provided or if it is under 16 bytes,
# Meilisearch will suggest a secure autogenerated master key.
-MEILI_MASTER_KEY=WjRvKvpelIYHa4dlcDGsdT9c0CKRbY-4VcuCQ1iZPcc
+# MEILI_MASTER_KEY=WjRvKvpelIYHa4dlcDGsdT9c0CKRbY-4VcuCQ1iZPcc
+MEILI_MASTER_KEY=MASTER_KEY
# User System
# global enable/disable the sample user system.
# this is not a ready to use user system.
# dont't use it, unless you can write your own code.
-ENABLE_USER_SYSTEM=
\ No newline at end of file
+ENABLE_USER_SYSTEM=FALSE
\ No newline at end of file