ai-skills-api/docker-compose.yml
Lukas Parsons e346d356e5 Add SSE MCP server, comprehensive docs, and OpenCode integration
- Implement SSE mode for MCP server (mcp/skills.py)
- Add MCP service to docker-compose.yml on port 3000
- Add uvicorn dependency to mcp/requirements.txt
- Create SETUP.md, USAGE.md, OPENCODE-MCP.md
- Update README with quick links and MCP section
- Remove semantic cache references throughout
- Add cross-platform Python MCP setup script to template repo
2026-03-22 23:59:33 -04:00

45 lines
971 B
YAML

services:
api:
build: .
ports:
- "8675:8080"
environment:
- DATABASE_URL=sqlite+aiosqlite:///./ai.db
volumes:
- ./data:/app/data
- ./config.yaml:/app/config.yaml:ro
depends_on:
- ollama
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
ollama:
image: ollama/ollama:latest
volumes:
- ./ollama:/root/.ollama
restart: unless-stopped
command: serve
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3
mcp:
build:
context: .
dockerfile: mcp/Dockerfile
command: python skills.py
ports:
- "3000:3000"
environment:
- SKILLS_API_URL=http://api:8080
- MCP_TRANSPORT=sse
- MCP_PORT=3000
depends_on:
- api
restart: unless-stopped