ClearCast-AI / docker-compose.yml
abhinavvathadi's picture
Exclude knowledge base files
73e8657
Raw
History Blame Contribute Delete
855 Bytes
# ClearCast Docker Compose Configuration
# For deployment discussion purposes.
#
# Note: In local development, the MCP server uses stdio transport
# and is spawned as a subprocess by the agent. For Docker deployment,
# we package the agent and MCP server together since stdio requires
# them to be in the same process environment.
version: "3.8"
services:
# Agent backend + MCP server in the same container
# because MCP stdio transport requires same process environment
agent-backend:
build: .
environment:
- OPENWEATHERMAP_API_KEY=${OPENWEATHERMAP_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
# Frontend runs separately
frontend:
build: ./frontend
ports:
- "7860:7860"
depends_on:
- agent-backend