- Introduced a new Docker setup for running claude-devtools in standalone mode without Electron. - Added Dockerfile and docker-compose.yml for easy deployment. - Implemented .dockerignore to exclude unnecessary files from the Docker context. - Updated package.json with new scripts for building and running the standalone server. - Enhanced README with Docker usage instructions and environment variable configurations. - Modified HttpServer to support serving static files and API in standalone mode. - Updated various components to ensure compatibility with standalone operation.
29 lines
859 B
YAML
29 lines
859 B
YAML
# =============================================================================
|
|
# claude-devtools — Docker Compose
|
|
#
|
|
# Quick start:
|
|
# docker compose up
|
|
#
|
|
# Then open http://localhost:3456 in your browser.
|
|
#
|
|
# Security note:
|
|
# The standalone server has zero outbound network calls — no telemetry,
|
|
# no analytics, no auto-updater. For maximum isolation, uncomment
|
|
# network_mode below.
|
|
# =============================================================================
|
|
|
|
services:
|
|
claude-devtools:
|
|
build: .
|
|
ports:
|
|
- "3456:3456"
|
|
volumes:
|
|
- ${CLAUDE_DIR:-~/.claude}:/data/.claude:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
- CLAUDE_ROOT=/data/.claude
|
|
- HOST=0.0.0.0
|
|
- PORT=3456
|
|
restart: unless-stopped
|
|
# Uncomment for maximum network isolation (no outbound connections):
|
|
# network_mode: "none"
|