edit env example

This commit is contained in:
Danny Avila 2023-03-23 11:49:54 -04:00
parent ab8724b568
commit ca3da2505a

View file

@ -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=
ENABLE_USER_SYSTEM=FALSE