rowboat/docker-compose.yml

269 lines
8.2 KiB
YAML
Raw Normal View History

2025-01-14 12:28:44 +05:30
version: '3.8'
2025-04-30 23:36:49 +05:30
volumes:
uploads:
driver: local
driver_opts:
type: none
o: bind
device: ./data/uploads
2025-01-14 12:28:44 +05:30
services:
rowboat:
build:
context: ./apps/rowboat
dockerfile: Dockerfile
ports:
2025-07-25 10:08:29 +05:30
- "${PORT:-3000}:3000"
2025-01-14 12:28:44 +05:30
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
2025-04-07 13:30:27 +05:30
- MONGODB_CONNECTION_STRING=mongodb://mongo:27017/rowboat
2025-03-27 07:58:15 +05:30
- USE_AUTH=${USE_AUTH}
2025-04-10 01:13:47 +05:30
- AUTH0_SECRET=test_secret
- AUTH0_BASE_URL=http://localhost:3000
- AUTH0_ISSUER_BASE_URL=https://test.com
- AUTH0_CLIENT_ID=test
- AUTH0_CLIENT_SECRET=test
2025-03-25 15:37:51 +05:30
- AGENTS_API_URL=http://rowboat_agents:3001
2025-03-10 12:03:06 +05:30
- AGENTS_API_KEY=${AGENTS_API_KEY}
- COPILOT_API_URL=http://copilot:3002
- COPILOT_API_KEY=${COPILOT_API_KEY}
2025-02-04 16:35:12 +05:30
- REDIS_URL=redis://redis:6379
2025-05-06 15:53:27 +05:30
- USE_RAG=${USE_RAG}
2025-04-30 23:36:49 +05:30
- QDRANT_URL=http://qdrant:6333
2025-03-10 12:03:06 +05:30
- QDRANT_API_KEY=${QDRANT_API_KEY}
2025-05-06 15:53:27 +05:30
- USE_RAG_UPLOADS=${USE_RAG_UPLOADS}
2025-04-30 23:36:49 +05:30
- USE_RAG_S3_UPLOADS=${USE_RAG_S3_UPLOADS}
2025-03-10 12:03:06 +05:30
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- RAG_UPLOADS_S3_BUCKET=${RAG_UPLOADS_S3_BUCKET}
- RAG_UPLOADS_S3_REGION=${RAG_UPLOADS_S3_REGION}
- USE_RAG_SCRAPING=${USE_RAG_SCRAPING}
- FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY}
- USE_CHAT_WIDGET=${USE_CHAT_WIDGET}
- CHAT_WIDGET_HOST=http://localhost:3006
- CHAT_WIDGET_SESSION_JWT_SECRET=${CHAT_WIDGET_SESSION_JWT_SECRET}
2025-02-04 16:35:12 +05:30
- MAX_QUERIES_PER_MINUTE=${MAX_QUERIES_PER_MINUTE}
- MAX_PROJECTS_PER_USER=${MAX_PROJECTS_PER_USER}
2025-03-02 18:58:10 +05:30
- VOICE_API_URL=${VOICE_API_URL}
2025-08-05 17:29:38 +05:30
- PROVIDER_API_KEY=${PROVIDER_API_KEY}
- PROVIDER_BASE_URL=${PROVIDER_BASE_URL}
- PROVIDER_DEFAULT_MODEL=${PROVIDER_DEFAULT_MODEL}
2025-08-05 15:39:59 +05:30
- PROVIDER_COPILOT_MODEL=${PROVIDER_COPILOT_MODEL}
2025-04-30 23:36:49 +05:30
- RAG_UPLOADS_DIR=/app/uploads
2025-07-10 08:38:40 +05:30
- USE_KLAVIS_TOOLS=${USE_KLAVIS_TOOLS}
Add hosted tools + revamp tools UX Replace db storage with api calls to klavis for list servers and add filters to hosted tool views Add logging and simplify oauth Refactor klavis API calls to go via a proxy Add projectAuthCheck() to klavis actions Fix build error in stream-response route.ts PARTIAL: Revamp tools modal PARTIAL: Manage mcp servers at project level document PARTIAL: Fetch tools from MCP servers upon toggle ON PARTIAL: Propogate hosted MCP tools to entity_list in build view Show tool toggle banner Add sync explicitly to prevent long page load time for MCP server's tools PARTIAL: Fix auth flow DB writes PARTIAL: Add tools with isready flag for auth-related server handling PARTIAL: Bring back sync tools CTA Fix tool selection issues PARTIAL: Fix sync issues with enriched and available tools and log unenriched tool names Remove buggy log statement Refactor common components and refactor HostedServer PARTIAL: Add custom servers and standardize the UI PARTIAL: Add modal and small UI improvements to custom servers page Show clubbed MCP tools in entity_list Add tool filters in tools section of entity_list Revert text in add tool CTA Make entity_list sections collapsed when one is expanded Merge project level tools to workflow level tools when sending requests to agent service Restore original panel-common variants Reduce agentic workflow request by removing tools from mcp servers Merge project level tools to workflow level tools when sending requests to copilot service Fix padding issues in entity_list headers Update package-lock.json Revert package* files to devg Revert tsconfig to dev PARTIAL: Change tabs and switch to heroui pending switch issues Fix switch issues with heroui Pass projectTools via workflow/app to entity_list and do not write to DB Fix issue with tool_config rendering and @ mentions for project tools Include @ mentioned project tools in agent request Update copilot usage of project tools Read mcp server url directly from tool config in agents service Make entity_list panels resizable Update resize handlers across the board Change Hosted MCP servers ---> Tools Library Remove tools filter Remove filter tabs in hosted tools Move tools selected / tools available labels below card titles Remove tools from config / settings page Bring back old mcp servers handling in agents service for backward compatibility as fallback Remove web_search from project template Add icons for agents, tools and prompts in entity_list Enable agents reordering in entity_list Fix build errors Make entity_list icons more transparent Add logos for hosted tools and fix importsg Fix server card component sizes and overflow Add error handling in hosted servers pageg Add node_modules to gitignore remove root package json add project auth checks revert to project mcpServers being optional refactor tool merging and conversion revert stream route change Move authURL klavis logic to klavis_actions Fix tool enrichment for post-auth tools and make logging less verbose Expand tool schema to include comprehensive json schema fields Add enabled and ready filters to hosted tools Add needs auth warning above auth button Update tools icon Add github and google client ids to docker-compose Clean up MCP servers upon project deletion Remove klavis ai label Improve server loading on and off UX Fix bug that was not enriching un-auth servers Add tool testing capabilities Fix un-blurred strip in tool testing modal view Disable server card CTAs during toggling on or off transition Add beta tag to tools Add tool and server counts Truncate long tool descriptions Add separators between filters in servers view Support multiple format types in tool testing fields Fix menu position issue for @ mentions
2025-05-15 18:24:25 +05:30
- KLAVIS_API_KEY=${KLAVIS_API_KEY}
- KLAVIS_GITHUB_CLIENT_ID=${KLAVIS_GITHUB_CLIENT_ID}
- KLAVIS_GOOGLE_CLIENT_ID=${KLAVIS_GOOGLE_CLIENT_ID}
2025-05-18 01:37:54 +05:30
- USE_BILLING=${USE_BILLING}
- BILLING_API_URL=${BILLING_API_URL}
- BILLING_API_KEY=${BILLING_API_KEY}
2025-07-03 15:19:48 +05:30
- USE_COMPOSIO_TOOLS=${USE_COMPOSIO_TOOLS}
- COMPOSIO_API_KEY=${COMPOSIO_API_KEY}
- COMPOSIO_TRIGGERS_WEBHOOK_SECRET=${COMPOSIO_TRIGGERS_WEBHOOK_SECRET}
2025-01-14 12:28:44 +05:30
restart: unless-stopped
2025-04-30 23:36:49 +05:30
volumes:
- uploads:/app/uploads
2025-01-14 12:28:44 +05:30
2025-07-17 11:33:28 +05:30
# rowboat_agents:
# build:
# context: ./apps/rowboat_agents
# dockerfile: Dockerfile
# ports:
# - "3001:3001"
# environment:
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# - API_KEY=${AGENTS_API_KEY}
# - REDIS_URL=redis://redis:6379
# - MONGODB_URI=mongodb://mongo:27017/rowboat
# - QDRANT_URL=http://qdrant:6333
# - QDRANT_API_KEY=${QDRANT_API_KEY}
# - PROVIDER_BASE_URL=${PROVIDER_BASE_URL}
# - PROVIDER_API_KEY=${PROVIDER_API_KEY}
# - PROVIDER_DEFAULT_MODEL=${PROVIDER_DEFAULT_MODEL}
# - MAX_CALLS_PER_CHILD_AGENT=${MAX_CALLS_PER_CHILD_AGENT}
# - ENABLE_TRACING=${ENABLE_TRACING}
# restart: unless-stopped
2025-01-14 12:28:44 +05:30
2025-07-17 11:33:28 +05:30
# copilot:
# build:
# context: ./apps/copilot
# dockerfile: Dockerfile
# ports:
# - "3002:3002"
# environment:
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# - API_KEY=${COPILOT_API_KEY}
# - PROVIDER_BASE_URL=${PROVIDER_BASE_URL}
# - PROVIDER_API_KEY=${PROVIDER_API_KEY}
# - PROVIDER_DEFAULT_MODEL=${PROVIDER_DEFAULT_MODEL}
# - PROVIDER_COPILOT_MODEL=${PROVIDER_COPILOT_MODEL}
# restart: unless-stopped
2025-02-14 14:41:25 +05:30
2025-04-07 23:53:17 +05:30
# tools_webhook:
# build:
# context: ./apps/experimental/tools_webhook
# dockerfile: Dockerfile
# ports:
# - "3005:3005"
# environment:
# - SIGNING_SECRET=${SIGNING_SECRET}
# restart: unless-stopped
2025-02-25 12:08:50 +05:30
2025-04-07 23:53:17 +05:30
# simulation_runner:
# build:
# context: ./apps/experimental/simulation_runner
# dockerfile: Dockerfile
# environment:
# - MONGODB_URI=mongodb://mongo:27017/rowboat
# - ROWBOAT_API_HOST=http://rowboat:3000
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# restart: unless-stopped
2025-02-17 23:00:15 +05:30
2025-03-10 13:55:01 +05:30
setup_qdrant:
build:
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
2025-04-30 23:36:49 +05:30
command: ["sh", "-c", "npm run setupQdrant"]
2025-05-06 15:53:27 +05:30
profiles: [ "setup_qdrant" ]
2025-05-06 16:30:20 +05:30
depends_on:
qdrant:
condition: service_healthy
2025-03-10 13:55:01 +05:30
environment:
2025-04-30 23:36:49 +05:30
- QDRANT_URL=http://qdrant:6333
2025-03-10 13:55:01 +05:30
- QDRANT_API_KEY=${QDRANT_API_KEY}
2025-04-30 23:36:49 +05:30
- EMBEDDING_VECTOR_SIZE=${EMBEDDING_VECTOR_SIZE}
2025-03-10 13:55:01 +05:30
restart: no
delete_qdrant:
build:
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
2025-04-30 23:36:49 +05:30
command: ["sh", "-c", "npm run deleteQdrant"]
2025-03-10 13:55:01 +05:30
profiles: [ "delete_qdrant" ]
2025-05-06 16:30:20 +05:30
depends_on:
qdrant:
condition: service_healthy
2025-03-10 13:55:01 +05:30
environment:
2025-04-30 23:36:49 +05:30
- QDRANT_URL=http://qdrant:6333
2025-03-10 13:55:01 +05:30
- QDRANT_API_KEY=${QDRANT_API_KEY}
restart: no
2025-08-17 08:06:17 +05:30
rag-worker:
2025-01-28 17:17:58 +05:30
build:
2025-03-10 12:03:06 +05:30
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
2025-08-17 08:06:17 +05:30
command: ["npm", "run", "rag-worker"]
profiles: [ "rag-worker" ]
2025-03-10 12:03:06 +05:30
environment:
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- RAG_UPLOADS_S3_BUCKET=${RAG_UPLOADS_S3_BUCKET}
- RAG_UPLOADS_S3_REGION=${RAG_UPLOADS_S3_REGION}
2025-04-30 23:36:49 +05:30
- RAG_UPLOADS_DIR=/app/uploads
- USE_GEMINI_FILE_PARSING=${USE_GEMINI_FILE_PARSING}
2025-03-10 12:03:06 +05:30
- FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY}
2025-03-27 22:44:28 +05:30
- OPENAI_API_KEY=${OPENAI_API_KEY}
2025-04-30 23:36:49 +05:30
- EMBEDDING_PROVIDER_BASE_URL=${EMBEDDING_PROVIDER_BASE_URL}
- EMBEDDING_PROVIDER_API_KEY=${EMBEDDING_PROVIDER_API_KEY}
- EMBEDDING_MODEL=${EMBEDDING_MODEL}
2025-04-07 13:30:27 +05:30
- MONGODB_CONNECTION_STRING=mongodb://mongo:27017/rowboat
2025-04-30 23:36:49 +05:30
- REDIS_URL=redis://redis:6379
- QDRANT_URL=http://qdrant:6333
2025-03-27 22:44:28 +05:30
- QDRANT_API_KEY=${QDRANT_API_KEY}
2025-05-18 01:37:54 +05:30
- USE_BILLING=${USE_BILLING}
- BILLING_API_URL=${BILLING_API_URL}
- BILLING_API_KEY=${BILLING_API_KEY}
2025-03-27 22:44:28 +05:30
restart: unless-stopped
2025-08-17 08:06:17 +05:30
volumes:
- uploads:/app/uploads
2025-03-27 22:44:28 +05:30
2025-08-08 02:27:42 +05:30
jobs-worker:
build:
context: ./apps/rowboat
dockerfile: scripts.Dockerfile
command: ["npm", "run", "jobs-worker"]
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- MONGODB_CONNECTION_STRING=mongodb://mongo:27017/rowboat
- REDIS_URL=redis://redis:6379
- QDRANT_URL=http://qdrant:6333
- QDRANT_API_KEY=${QDRANT_API_KEY}
- PROVIDER_API_KEY=${PROVIDER_API_KEY}
- PROVIDER_BASE_URL=${PROVIDER_BASE_URL}
- PROVIDER_DEFAULT_MODEL=${PROVIDER_DEFAULT_MODEL}
- PROVIDER_COPILOT_MODEL=${PROVIDER_COPILOT_MODEL}
- USE_BILLING=${USE_BILLING}
- BILLING_API_URL=${BILLING_API_URL}
- BILLING_API_KEY=${BILLING_API_KEY}
- USE_COMPOSIO_TOOLS=${USE_COMPOSIO_TOOLS}
- COMPOSIO_API_KEY=${COMPOSIO_API_KEY}
restart: unless-stopped
2025-04-07 23:53:17 +05:30
# chat_widget:
# build:
# context: ./apps/experimental/chat_widget
# dockerfile: Dockerfile
# profiles: [ "chat_widget" ]
# ports:
# - "3006:3006"
# environment:
# - PORT=3006
# - CHAT_WIDGET_HOST=http://localhost:3006
# - ROWBOAT_HOST=http://localhost:3000
# restart: unless-stopped
2025-02-04 16:35:12 +05:30
2025-04-07 13:30:27 +05:30
mongo:
image: mongo:latest
ports:
- "27017:27017"
restart: unless-stopped
attach: false
volumes:
- ./data/mongo:/data/db
2025-02-04 16:35:12 +05:30
redis:
image: redis:latest
ports:
- "6379:6379"
restart: unless-stopped
2025-03-10 12:03:06 +05:30
docs:
build:
context: ./apps/docs
dockerfile: Dockerfile
profiles: [ "docs" ]
ports:
- "8000:8000"
2025-03-02 18:58:10 +05:30
# twilio_handler:
# build:
2025-04-07 23:53:17 +05:30
# context: ./apps/experimental/twilio_handler
# dockerfile: Dockerfile
# ports:
# - "4010:4010"
# environment:
# - ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY}
# - ROWBOAT_API_HOST=http://rowboat:3000
2025-04-07 13:30:27 +05:30
# - MONGODB_URI=mongodb://mongo:27017/rowboat
# restart: unless-stopped
2025-04-30 23:36:49 +05:30
qdrant:
2025-05-06 16:30:20 +05:30
build:
context: .
dockerfile: Dockerfile.qdrant
2025-04-30 23:36:49 +05:30
ports:
- "6333:6333"
environment:
- QDRANT__STORAGE__STORAGE_PATH=/data/qdrant
restart: unless-stopped
2025-05-06 15:53:27 +05:30
profiles: [ "qdrant" ]
2025-04-30 23:36:49 +05:30
volumes:
- ./data/qdrant:/data/qdrant
2025-05-06 16:30:20 +05:30
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/healthz"]
interval: 5s
timeout: 10s
retries: 3