# =============================================================================
# brain-dump runtime configuration
#
# Copy this file to .env and fill DEEPSEEK_API_KEY. This repository commits
# .env files by convention; see README.md for the blast radius of each value
# and what breaks when it is rotated.
# =============================================================================

# DeepSeek OpenAI-compatible API. The key is the only secret here.
DEEPSEEK_API_KEY=sk-ea580c92fbc04318ab1d31f2f01c0b04
DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
DEEPSEEK_LARGE_MODEL=deepseek-flash
DEEPSEEK_SMALL_MODEL=deepseek-flash

# FalkorDB. The database is reachable only on the Compose network.
FALKORDB_HOST=falkordb
FALKORDB_PORT=6379
FALKORDB_PASSWORD=

# Local embeddings served by the TEI container.
EMBEDDER_BASE_URL=http://embedder:80/v1
EMBEDDER_MODEL=BAAI/bge-small-en-v1.5
EMBEDDER_DIM=384

# Graphiti concurrency and the MCP listener inside the container.
SEMAPHORE_LIMIT=10
MCP_HOST=0.0.0.0
MCP_PORT=8080

# URL used by scripts/seed_brain.py when it runs inside the container.
MCP_SERVER_URL=http://127.0.0.1:8080/mcp

# Published MCP endpoint: node-01's LAN address and a port that is free on
# that host. There is no authentication layer; keep this on the LAN.
MCP_HOST_BIND=192.168.1.6
MCP_HOST_PORT=8085

# First-party image built by .gitea/workflows/deploy-brain-dump.yml. Override
# with a commit-SHA tag to roll back without changing the compose file.
BRAIN_DUMP_IMAGE=git.mildgrim.com/mildgrim/brain-dump:latest
