fleet-memory/docker-compose.rcll.yml
RCLL e3782b5af4 ops: standalone compose and env template for the RCLL distribution
Recovered from the 2026-06-27 snapshot import by classifying the base..snapshot delta at line granularity. Upstream base: d054b884 (2026-04-10).
2026-08-23 23:50:01 +03:00

50 lines
1.6 KiB
YAML

version: "3.8"
# RCLL — local dev stack (API + pgvector).
# Note: the HINDSIGHT_API_* variables below are upstream config names and stay
# as-is on purpose — we rebrand the product, not the config interface.
services:
db:
image: pgvector/pgvector:pg16
environment:
POSTGRES_DB: hindsight
POSTGRES_USER: hindsight
POSTGRES_PASSWORD: ${DB_PASSWORD:-hindsight_dev}
volumes:
- hindsight_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hindsight"]
interval: 5s
timeout: 5s
retries: 5
rcll:
build:
context: ./hindsight-api-slim
dockerfile: Dockerfile
depends_on:
db:
condition: service_healthy
environment:
HINDSIGHT_API_DATABASE_URL: postgresql://hindsight:${DB_PASSWORD:-hindsight_dev}@db:5432/hindsight
HINDSIGHT_API_MIGRATION_DATABASE_URL: postgresql+psycopg2://hindsight:${DB_PASSWORD:-hindsight_dev}@db:5432/hindsight
HINDSIGHT_API_HOST: "0.0.0.0"
HINDSIGHT_API_PORT: "5100"
HINDSIGHT_API_LOG_LEVEL: info
HINDSIGHT_API_LLM_PROVIDER: ${LLM_PROVIDER:-openai}
HINDSIGHT_API_LLM_API_KEY: ${LLM_API_KEY}
HINDSIGHT_API_LLM_MODEL: ${LLM_MODEL:-gpt-4o-mini}
HINDSIGHT_API_EMBEDDINGS_PROVIDER: local
HINDSIGHT_API_EMBEDDINGS_LOCAL_FORCE_CPU: "true"
HINDSIGHT_API_RERANKER_PROVIDER: local
HINDSIGHT_API_RERANKER_LOCAL_FORCE_CPU: "true"
HINDSIGHT_API_RUN_MIGRATIONS: "true"
HINDSIGHT_API_WORKERS: "1"
ports:
- "5100:5100"
volumes:
hindsight_data: