ai-skills-api/mcp/docker-compose.yml
Lukas Parsons 7f7699ff94 Initial commit: Skills API with MCP servers
- FastAPI backend with SQLite (ai.db)
- Tables: skills, snippets, conventions, cache, memory
- MCP servers: homelab, gameservers, skills
- Docker Compose setup
- Seed data with 8 skills, 2 conventions, 2 snippets
- Token savings patterns via context bundles and caching
2026-03-22 21:18:23 -04:00

36 lines
862 B
YAML

services:
homelab:
build:
context: ..
dockerfile: mcp/Dockerfile
command: python homelab.py
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
network_mode: host
restart: unless-stopped
gameservers:
build:
context: ..
dockerfile: mcp/Dockerfile
command: python gameservers.py
volumes:
- /opt/game-servers:/opt/game-servers
environment:
- GAME_SERVERS_DIR=/opt/game-servers
network_mode: host
restart: unless-stopped
skills:
build:
context: ..
dockerfile: mcp/Dockerfile
command: python skills.py
environment:
- SKILLS_API_URL=http://host.docker.internal:8080
extra_hosts:
- "host.docker.internal:host-gateway"
network_mode: host
restart: unless-stopped