mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
chore(server): disable indexer on self-host by default (#12452)
enable indexer using `compose.indexer.yml` on self-host: ```bash docker compose -f compose.yml -f compose.indexer.yml up ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the build process in the development container to include building the reader package. - Added and configured a Manticore Search indexer service in the development container. - Removed the indexer service and related environment variables from the self-hosted Docker Compose setup and environment example file. - **Documentation** - Improved documentation formatting for better readability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -22,7 +22,7 @@ cp ./.docker/dev/.env.example ./.docker/dev/.env
|
||||
docker compose -f ./.docker/dev/compose.yml up
|
||||
```
|
||||
|
||||
#### Notify
|
||||
### Notify
|
||||
|
||||
> Starting from AFFiNE 0.20, compose.yml includes a breaking change: the default database image has switched from `postgres:16` to `pgvector/pgvector:pg16`. If you were previously using another major version of Postgres, please change the number after `pgvector/pgvector:pg` to the major version you are using.
|
||||
|
||||
@@ -108,6 +108,6 @@ yarn affine server prisma studio
|
||||
|
||||
### Seed the db
|
||||
|
||||
```
|
||||
```sh
|
||||
yarn affine server seed -h
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user