Skip to content

Commit bf809c8

Browse files
authored
Update typesense docs
1 parent 02a94e6 commit bf809c8

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

docs/self-hosting/configuration/index.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,27 @@ AI_COMPLETION_MODEL=qwen2.5:7b
9191

9292
## Search
9393

94-
By default, Docmost uses the database for full-text search. You can optionally configure Typesense as the search driver for improved search performance and relevance.
94+
By default, Docmost uses the database for full-text search. In the enterprise edition, can optionally configure Typesense as the search driver for improved search performance and relevance.
9595

9696
### Using Typesense
97+
You can add the Typesense compose service to your existing Docmost docker-compose.yml file.
98+
See Typesense [installation guide](https://typesense.org/docs/guide/install-typesense.html#docker).
99+
```yaml
100+
typesense:
101+
image: typesense/typesense:30.1
102+
restart: on-failure
103+
ports:
104+
- "8108:8108"
105+
volumes:
106+
- ./typesense-data:/data
107+
command: '--data-dir /data --api-key=YOUR_KEY --enable-cors'
108+
```
109+
110+
**Environment variables:**
111+
97112
```shell
98113
SEARCH_DRIVER=typesense
99-
TYPESENSE_API_KEY=xyz123
114+
TYPESENSE_API_KEY=YOUR_KEY
100115
TYPESENSE_URL=http://localhost:8108
101116
TYPESENSE_LOCALE=en
102117
```

0 commit comments

Comments
 (0)