ai-skills-api/mcp/docker-compose.yml

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:8675
extra_hosts:
- "host.docker.internal:host-gateway"
network_mode: host
restart: unless-stopped