version: "3.8" services: mcp-browser: build: context: . dockerfile: Dockerfile container_name: mcp-browser-dev environment: - MAX_SESSIONS=3 - IDLE_TIMEOUT_SECONDS=300 - MAX_SESSION_LIFETIME_SECONDS=1800 - MAX_ACTIONS_PER_SESSION=50 - LOG_LEVEL=DEBUG - LOG_JSON=false - SCREENSHOTS_DIR=/screenshots ports: - "8931:8931" volumes: # Hot reload in development - ./app:/app/app:ro # Screenshots persistence - mcp_screenshots:/screenshots security_opt: - seccomp=unconfined deploy: resources: limits: cpus: '1.5' memory: 1G reservations: cpus: '0.25' memory: 256M volumes: mcp_screenshots: name: mcp-browser-screenshots