Spaces:
Sleeping
Sleeping
File size: 855 Bytes
73e8657 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # 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
|