mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
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 -->
13 lines
286 B
Bash
13 lines
286 B
Bash
#!/bin/bash
|
|
# This is a script used by the devcontainer to build the project
|
|
|
|
# install dependencies
|
|
yarn install
|
|
|
|
# Build Server Dependencies
|
|
yarn affine @affine/server-native build
|
|
yarn affine @affine/reader build
|
|
|
|
# Create database
|
|
yarn affine @affine/server prisma migrate reset -f
|