Files
claude-hub/docker-compose.publish.yml
Jonathan Flatt c7863283bb feat: Add Docker Hub automated builds and publishing
- Add GitHub Actions workflow for automated Docker builds
- Configure staging builds on main/master branch pushes
- Configure release builds on version tags (v*.*.*)
- Support multi-platform builds (amd64, arm64)
- Auto-update Docker Hub README on main branch pushes
- Add comprehensive Docker Hub documentation
- Create publish script for manual releases
- Update docker-compose for public use

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-22 20:32:00 -05:00

41 lines
1.3 KiB
YAML

version: '3.8'
services:
claude-webhook:
image: intelligenceassist/claude-github-webhook:latest
ports:
- "8082:3002"
volumes:
# Mount Docker socket for container execution
- /var/run/docker.sock:/var/run/docker.sock
# Mount AWS credentials (optional, for AWS Bedrock access)
- ${HOME}/.aws:/root/.aws:ro
environment:
- NODE_ENV=production
- PORT=3002
# Required: GitHub webhook configuration
- GITHUB_TOKEN=${GITHUB_TOKEN}
- GITHUB_WEBHOOK_SECRET=${GITHUB_WEBHOOK_SECRET}
# Required: Anthropic API key for Claude access
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
# Bot configuration
- BOT_USERNAME=${BOT_USERNAME:-@ClaudeBot}
- AUTHORIZED_USERS=${AUTHORIZED_USERS}
- DEFAULT_GITHUB_OWNER=${DEFAULT_GITHUB_OWNER}
- DEFAULT_GITHUB_USER=${DEFAULT_GITHUB_USER}
- DEFAULT_BRANCH=${DEFAULT_BRANCH:-main}
# Container execution settings
- CLAUDE_USE_CONTAINERS=${CLAUDE_USE_CONTAINERS:-1}
- CLAUDE_CONTAINER_IMAGE=${CLAUDE_CONTAINER_IMAGE:-claudecode:latest}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3002/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s