mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +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 -->
24 lines
728 B
Plaintext
24 lines
728 B
Plaintext
# select a revision to deploy, available values: stable, beta, canary
|
|
AFFINE_REVISION=stable
|
|
|
|
# set the port for the server container it will expose the server on
|
|
PORT=3010
|
|
|
|
# set the host for the server for outgoing links
|
|
# AFFINE_SERVER_HTTPS=true
|
|
# AFFINE_SERVER_HOST=affine.yourdomain.com
|
|
# or
|
|
# AFFINE_SERVER_EXTERNAL_URL=https://affine.yourdomain.com
|
|
|
|
# position of the database data to persist
|
|
DB_DATA_LOCATION=~/.affine/self-host/postgres/pgdata
|
|
# position of the upload data(images, files, etc.) to persist
|
|
UPLOAD_LOCATION=~/.affine/self-host/storage
|
|
# position of the configuration files to persist
|
|
CONFIG_LOCATION=~/.affine/self-host/config
|
|
|
|
# database credentials
|
|
DB_USERNAME=affine
|
|
DB_PASSWORD=
|
|
DB_DATABASE=affine
|