mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
https://github.com/toeverything/AFFiNE/pull/12816 #### PR Dependency Tree * **PR #12935** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the default Manticore Search version in development environment configurations from 9.3.2 to 10.1.0. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
43 lines
944 B
YAML
43 lines
944 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
image: mcr.microsoft.com/devcontainers/base:bookworm
|
|
volumes:
|
|
- ../..:/workspaces:cached
|
|
command: sleep infinity
|
|
network_mode: service:db
|
|
environment:
|
|
DATABASE_URL: postgresql://affine:affine@db:5432/affine
|
|
REDIS_SERVER_HOST: redis
|
|
AFFINE_INDEXER_SEARCH_ENDPOINT: http://indexer:9308
|
|
|
|
db:
|
|
image: pgvector/pgvector:pg16
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_PASSWORD: affine
|
|
POSTGRES_USER: affine
|
|
POSTGRES_DB: affine
|
|
redis:
|
|
image: redis
|
|
|
|
indexer:
|
|
image: manticoresearch/manticore:${MANTICORE_VERSION:-10.1.0}
|
|
ulimits:
|
|
nproc: 65535
|
|
nofile:
|
|
soft: 65535
|
|
hard: 65535
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
volumes:
|
|
- manticoresearch_data:/var/lib/manticore
|
|
|
|
volumes:
|
|
postgres-data:
|
|
manticoresearch_data:
|