close CLOUD-137 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced advanced workspace-scoped search and aggregation capabilities with support for complex queries, highlights, and pagination. - Added pluggable search providers: Elasticsearch and Manticoresearch. - New GraphQL queries, schema types, and resolver support for search and aggregation. - Enhanced configuration options for search providers in self-hosted and cloud deployments. - Added Docker Compose services and environment variables for Elasticsearch and Manticoresearch. - Integrated indexer service into deployment and CI workflows. - **Bug Fixes** - Improved error handling with new user-friendly error messages for search provider and indexer issues. - **Documentation** - Updated configuration examples and environment variable references for indexer and search providers. - **Tests** - Added extensive end-to-end and provider-specific tests covering indexing, searching, aggregation, deletion, and error cases. - Included snapshot tests and test fixtures for search providers. - **Chores** - Updated deployment scripts, Helm charts, and Kubernetes manifests to include indexer-related environment variables and secrets. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
29 lines
909 B
Plaintext
29 lines
909 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
|
|
|
|
# indexer search provider manticoresearch version
|
|
MANTICORE_VERSION=9.2.14
|
|
# position of the manticoresearch data to persist
|
|
MANTICORE_DATA_LOCATION=~/.affine/self-host/manticore
|