mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
edit env example
This commit is contained in:
parent
ab8724b568
commit
ca3da2505a
1 changed files with 14 additions and 6 deletions
|
|
@ -32,23 +32,31 @@ CHATGPT_TOKEN=
|
||||||
# Refresh the page and look at the response body for https://chat.openai.com/backend-api/models.
|
# Refresh the page and look at the response body for https://chat.openai.com/backend-api/models.
|
||||||
BROWSER_MODEL=
|
BROWSER_MODEL=
|
||||||
|
|
||||||
# Enable Message/Convo Search
|
# ENABLING SEARCH MESSAGES/CONVOS
|
||||||
# Requires installation of free self-hosted Meilisearch or Paid Remote Plan (Remote not tested)
|
# 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.
|
# The easiest setup for this is through docker-compose, which takes care of it for you.
|
||||||
# SEARCH=TRUE
|
# SEARCH=TRUE
|
||||||
SEARCH=
|
SEARCH=
|
||||||
|
|
||||||
# REQUIRED FOR SEARCH: MeiliSearch Host, mainly for api server to connect to the search server.
|
# 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.
|
# REQUIRED FOR SEARCH: MeiliSearch HTTP Address, mainly for docker-compose to expose the search server.
|
||||||
MEILI_HTTP_ADDR='0.0.0.0:7700'
|
# must replace '0.0.0.0' with 'meilisearch' if serving meilisearch with docker-compose
|
||||||
# REQUIRED FOR SEARCH: needs a secure key, feel free to generate your own.
|
# 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.
|
# 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 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.
|
# 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
|
# User System
|
||||||
# global enable/disable the sample user system.
|
# global enable/disable the sample user system.
|
||||||
# this is not a ready to use user system.
|
# this is not a ready to use user system.
|
||||||
# dont't use it, unless you can write your own code.
|
# dont't use it, unless you can write your own code.
|
||||||
ENABLE_USER_SYSTEM=
|
ENABLE_USER_SYSTEM=FALSE
|
||||||
Loading…
Add table
Add a link
Reference in a new issue