Skip to content

Commit 95cf27e

Browse files
committed
edit env example
1 parent 7afe09f commit 95cf27e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

api/.env.example

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,26 @@ BROWSER_MODEL=
3636
# Requires installation of free self-hosted Meilisearch or Paid Remote Plan (Remote not tested)
3737
# The easiest setup for this is through docker-compose, which takes care of it for you.
3838
# SEARCH=TRUE
39-
SEARCH=
39+
SEARCH=TRUE
4040

4141
# REQUIRED FOR SEARCH: MeiliSearch Host, mainly for api server to connect to the search server.
4242
# must replace '0.0.0.0' with 'meilisearch' if serving meilisearch with docker-compose
43-
# MEILI_HOST='http://0.0.0.0:7700'
44-
MEILI_HOST='http://meilisearch:7700'
43+
# MEILI_HOST='http://0.0.0.0:7700' # <-- local/remote
44+
MEILI_HOST='http://meilisearch:7700' # <-- docker-compose
4545

4646
# REQUIRED FOR SEARCH: MeiliSearch HTTP Address, mainly for docker-compose to expose the search server.
4747
# must replace '0.0.0.0' with 'meilisearch' if serving meilisearch with docker-compose
48-
# MEILI_HTTP_ADDR='0.0.0.0:7700'
49-
MEILI_HTTP_ADDR='meilisearch:7700'
48+
# MEILI_HTTP_ADDR='0.0.0.0:7700' # <-- local/remote
49+
MEILI_HTTP_ADDR='meilisearch:7700' # <-- docker-compose
5050

5151
# REQUIRED FOR SEARCH: In production env., needs a secure key, feel free to generate your own.
5252
# This master key must be at least 16 bytes, composed of valid UTF-8 characters.
5353
# Meilisearch will throw an error and refuse to launch if no master key is provided or if it is under 16 bytes,
5454
# Meilisearch will suggest a secure autogenerated master key.
5555
# Using docker, it seems recognized as production so use a secure key.
56-
MEILI_MASTER_KEY=JKMW-hGc7v_D1FkJVdbRSDNFLZcUv3S75yrxXP0SmcU
56+
# MEILI_MASTER_KEY= # <-- no/insecure key for local/remote
57+
MEILI_MASTER_KEY=JKMW-hGc7v_D1FkJVdbRSDNFLZcUv3S75yrxXP0SmcU # <-- ready made secure key for docker-compose
58+
5759

5860
# User System
5961
# global enable/disable the sample user system.

0 commit comments

Comments
 (0)