From 95cf27ee3e7e2d5e8264df93ae57167a2c7175ab Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Thu, 23 Mar 2023 13:30:55 -0400 Subject: [PATCH] edit env example --- api/.env.example | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/api/.env.example b/api/.env.example index 31e9e0704a..252b4b94de 100644 --- a/api/.env.example +++ b/api/.env.example @@ -36,24 +36,26 @@ BROWSER_MODEL= # 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= +SEARCH=TRUE # REQUIRED FOR SEARCH: MeiliSearch Host, mainly for api server to connect to the search server. # 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' +# MEILI_HOST='http://0.0.0.0:7700' # <-- local/remote +MEILI_HOST='http://meilisearch:7700' # <-- docker-compose # REQUIRED FOR SEARCH: MeiliSearch HTTP Address, mainly for docker-compose to expose the search server. # 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' +# MEILI_HTTP_ADDR='0.0.0.0:7700' # <-- local/remote +MEILI_HTTP_ADDR='meilisearch:7700' # <-- docker-compose # 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. # Using docker, it seems recognized as production so use a secure key. -MEILI_MASTER_KEY=JKMW-hGc7v_D1FkJVdbRSDNFLZcUv3S75yrxXP0SmcU +# MEILI_MASTER_KEY= # <-- no/insecure key for local/remote +MEILI_MASTER_KEY=JKMW-hGc7v_D1FkJVdbRSDNFLZcUv3S75yrxXP0SmcU # <-- ready made secure key for docker-compose + # User System # global enable/disable the sample user system.