how-to-talk-to-claude/docker-compose.prod.yml
Claude AI Guide Project 262c0d5d58
Some checks failed
Build and Deploy / build (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
🚀 Complete CI/CD pipeline for automated deployments
GitHub Actions Workflows:
- test.yml: PR validation with Docker build and health checks
- deploy.yml: Automated build and deployment on master push
- Multi-platform builds (amd64, arm64) with registry caching
- SSH-based deployment with zero-downtime updates

Production Infrastructure:
- docker-compose.prod.yml: Production deployment configuration
- deploy.sh: Automated deployment script with health checks
- .env.production: Production environment template
- README-DEPLOYMENT.md: Complete deployment documentation

Features:
- Automated testing on pull requests
- Container registry publishing to GHCR
- Health check validation
- Image cleanup and optimization
- Proper security with read-only containers

Ready for automated deployments to claude.supported.systems\!

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 03:46:27 -06:00

26 lines
601 B
YAML

services:
how-to-claude:
image: ghcr.io/${GITHUB_REPOSITORY}:latest
container_name: how-to-claude
restart: unless-stopped
# Caddy Docker Proxy labels
labels:
caddy: ${DOMAIN}
caddy.reverse_proxy: "{{upstreams 80}}"
# Health check
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# Read-only root filesystem for security
read_only: true
networks:
default:
external:
name: caddy