how-to-talk-to-claude/docker-compose.yml
Claude AI Guide Project 7040076d84 🌐 Environment variables and domain configuration
- Replace hardcoded domain with ${DOMAIN} environment variable
- Add .env.example with claude.supported.systems domain
- Ensure .env is gitignored for security
- Clean up docker-compose.yml for production deployment

Ready for deployment to claude.supported.systems\!

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 22:34:12 -06:00

26 lines
567 B
YAML

services:
how-to-claude:
build: .
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