Files
docker-bash-mcp/docker-compose.yml
T
2026-06-24 11:48:08 +02:00

17 lines
418 B
YAML

services:
mcp-bash:
build:
context: ./server
dockerfile: Dockerfile
container_name: mcp-bash
restart: unless-stopped
ports:
- "8000:8000"
volumes:
# shared workspace: host files are visible inside the PTY sessions
- ./workspace:/workspace
environment:
- PYTHONUNBUFFERED=1
# tty: true keeps stdin open for ptyprocess inside the container
tty: true