forked from claude-did-this/claude-hub
- Remove all Discord chatbot implementation files - Remove generic chatbot provider infrastructure - Update docker-compose.yml to use environment variables instead of Docker secrets - Keep dual secret support (files take priority, env vars as fallback) - Document secret configuration options in .env.example - Clean up related tests and documentation - Prepare codebase for CLI-first approach with future plugin architecture This simplifies the codebase by removing incomplete chatbot functionality while maintaining flexible secret management for both development and production. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.5 KiB
YAML
38 lines
1.5 KiB
YAML
services:
|
|
webhook:
|
|
build: .
|
|
ports:
|
|
- "8082:3002"
|
|
volumes:
|
|
- .:/app
|
|
- /app/node_modules
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ${HOME}/.aws:/root/.aws:ro
|
|
- ${HOME}/.claude:/home/claudeuser/.claude
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3002
|
|
- AUTHORIZED_USERS=${AUTHORIZED_USERS:-Cheffromspace}
|
|
- BOT_USERNAME=${BOT_USERNAME:-@MCPClaude}
|
|
- DEFAULT_GITHUB_OWNER=${DEFAULT_GITHUB_OWNER:-Cheffromspace}
|
|
- DEFAULT_GITHUB_USER=${DEFAULT_GITHUB_USER:-Cheffromspace}
|
|
- DEFAULT_BRANCH=${DEFAULT_BRANCH:-main}
|
|
- CLAUDE_USE_CONTAINERS=1
|
|
- CLAUDE_CONTAINER_IMAGE=claudecode:latest
|
|
# Smart wait for all meaningful checks by default, or use specific workflow trigger
|
|
- PR_REVIEW_WAIT_FOR_ALL_CHECKS=${PR_REVIEW_WAIT_FOR_ALL_CHECKS:-true}
|
|
- PR_REVIEW_TRIGGER_WORKFLOW=${PR_REVIEW_TRIGGER_WORKFLOW:-}
|
|
- PR_REVIEW_DEBOUNCE_MS=${PR_REVIEW_DEBOUNCE_MS:-5000}
|
|
- PR_REVIEW_MAX_WAIT_MS=${PR_REVIEW_MAX_WAIT_MS:-1800000}
|
|
- PR_REVIEW_CONDITIONAL_TIMEOUT_MS=${PR_REVIEW_CONDITIONAL_TIMEOUT_MS:-300000}
|
|
# Secrets from environment variables
|
|
- GITHUB_TOKEN=${GITHUB_TOKEN}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
- GITHUB_WEBHOOK_SECRET=${GITHUB_WEBHOOK_SECRET}
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3002/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s |