Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Nov 15, 2024
1 parent a71796a commit 5a4aca7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,18 @@ MAIL_REPLY_TO_NAME="${APP_NAME}"
# Search
## We use Laravel Scout to do full-text search.
## Read config/scout.php for more information.
## Note that you have to use: 'meilisearch', 'typesense', 'algolia' or the 'database' driver
## to enable search in Monica. Searching requires a queue to be configured.
## Note that you have to use: 'meilisearch', 'typesense', 'algolia' or the 'database'
## driver to enable search in Monica. Searching requires a queue to be configured.
SCOUT_DRIVER=database
SCOUT_QUEUE=true
## If you never intend to use the 'database' driver, you can set this value to false:
FULL_TEXT_INDEX=true
MEILISEARCH_HOST=
## Meilisearch settings
MEILISEARCH_URL=
MEILISEARCH_KEY=
TYPESENSE_API_KEY=
## Typesense settings
TYPESENSE_HOST=
TYPESENSE_API_KEY=

# Notification channels
TELEGRAM_BOT_TOKEN=
Expand Down
2 changes: 1 addition & 1 deletion .env.example.sail
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ MAIL_REPLY_TO_NAME="${APP_NAME}"

SCOUT_DRIVER=meilisearch
SCOUT_QUEUE=true
MEILISEARCH_HOST=http://meilisearch:7700
MEILISEARCH_URL=http://meilisearch:7700
MEILISEARCH_KEY=
MEILISEARCH_NO_ANALYTICS=false
2 changes: 1 addition & 1 deletion config/scout.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
*/

'meilisearch' => [
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
'host' => env('MEILISEARCH_URL', env('MEILISEARCH_HOST', 'http://localhost:7700')),
'key' => env('MEILISEARCH_KEY'),
'index-settings' => [
Contact::class => [
Expand Down

0 comments on commit 5a4aca7

Please sign in to comment.