Add complete production deployment stack so Timmy can be deployed to any cloud provider (DigitalOcean, AWS, Hetzner, etc.) with a single command. New files: - docker-compose.prod.yml: production stack (Caddy auto-HTTPS, Ollama LLM, Dashboard, Timmy agent, Watchtower auto-updates) - deploy/Caddyfile: reverse proxy with security headers and WebSocket support - deploy/setup.sh: interactive one-click setup script for any Ubuntu/Debian server - deploy/cloud-init.yaml: paste as User Data when creating a cloud VM - deploy/timmy.service: systemd unit for auto-start on boot - deploy/digitalocean/create-droplet.sh: create a DO droplet via doctl CLI Updated: - Dockerfile: non-root user, healthcheck, missing deps (GitPython, moviepy, redis) - Makefile: cloud-deploy, cloud-up/down/logs/status/update/scale targets - .env.example: DOMAIN setting for HTTPS - .dockerignore: exclude deploy configs from image https://claude.ai/code/session_018CduUZoEJzFynBwMsxaP8T
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
# ── Python ───────────────────────────────────────────────────────────────────
|
|
.venv/
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.pyd
|
|
*.egg-info/
|
|
dist/
|
|
build/
|
|
.pytest_cache/
|
|
htmlcov/
|
|
.coverage
|
|
coverage.xml
|
|
|
|
# ── Data (mounted as volume, not baked in) ───────────────────────────────────
|
|
data/
|
|
*.db
|
|
|
|
# ── Secrets / config ─────────────────────────────────────────────────────────
|
|
.env
|
|
.env.*
|
|
*.key
|
|
*.pem
|
|
|
|
# ── Git ───────────────────────────────────────────────────────────────────────
|
|
.git/
|
|
.gitignore
|
|
|
|
# ── Tests (not needed in production image) ───────────────────────────────────
|
|
tests/
|
|
|
|
# ── Docs ─────────────────────────────────────────────────────────────────────
|
|
docs/
|
|
*.md
|
|
|
|
# ── Deploy configs (not needed inside image) ──────────────────────────────────
|
|
deploy/
|
|
docker-compose*.yml
|
|
Makefile
|
|
|
|
# ── macOS ─────────────────────────────────────────────────────────────────────
|
|
.DS_Store
|