AI Research Engine — self-hosted knowledge acquisition system
- 10 MCP tools via thin proxy on MacBook - Backend REST API + Dashboard on CT 145 Docker - Services: YaCy crawler, OpenSearch index, Qdrant vectors, Ollama LLM - All 4 services healthy and verified
This commit is contained in:
62
docker-compose.yml
Normal file
62
docker-compose.yml
Normal file
@@ -0,0 +1,62 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# ── Web Crawler ────────────────────────────────────────────
|
||||
yacy:
|
||||
image: yacy/yacy_search_server:latest
|
||||
container_name: yacy
|
||||
ports:
|
||||
- "8090:8090"
|
||||
environment:
|
||||
- YACY_ADMIN_PASSWORD=research2026
|
||||
volumes:
|
||||
- yacy_data:/opt/yacy_search_server/DATA
|
||||
restart: unless-stopped
|
||||
mem_limit: 2g
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8090/api/status.json"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
# ── Document Index ─────────────────────────────────────────
|
||||
opensearch:
|
||||
image: opensearchproject/opensearch:2.17.0
|
||||
container_name: opensearch
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- DISABLE_SECURITY_PLUGIN=true
|
||||
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx2g"
|
||||
- DISABLE_INSTALL_DEMO_CONFIG=true
|
||||
ports:
|
||||
- "9200:9200"
|
||||
- "9600:9600"
|
||||
volumes:
|
||||
- opensearch_data:/usr/share/opensearch/data
|
||||
restart: unless-stopped
|
||||
mem_limit: 3g
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9200/_cluster/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
# ── Cache / Job Queue ──────────────────────────────────────
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
yacy_data:
|
||||
opensearch_data:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user