skills/vps-docker-traefik-deploy/SKILL.md
Plan and implement secure production deployments of Docker Compose applications on self-hosted VPS or cloud servers using Docker Engine, Docker Compose, Traefik, private registries, SSH tunnels, least-privilege users, persistent volumes, backups, DNS, and storage growth planning. Use when an AI agent needs to design, review, document, or execute a real deploy for websites, APIs, websockets, workers, databases, and object storage integrations on Ubuntu or Debian style Linux hosts.
npx skillsauth add thienanblog/awesome-ai-agent-skills vps-docker-traefik-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn an application stack into a real production deployment plan with secure host setup, reverse proxying, registry-based releases, private admin access, persistent storage, backups, and rollback.
Prefer Ubuntu LTS or Debian stable. Prefer immutable image tags. Prefer Traefik for public ingress and SSH tunnels for admin-only access.
Confirm these points first:
If the project already has deployment docs, read them first and treat them as the application-specific contract.
Default public ports:
22/tcp for SSH80/tcp for HTTP redirect and ACME when needed443/tcp for HTTPSKeep these private unless there is a strong reason:
If a GUI tool is required, bind the service to 127.0.0.1 only and use an SSH tunnel from the operator workstation.
When using this skill, produce a deployment answer that includes:
latest tags for production.Read these files only when needed:
references/server-baseline.md Use for Ubuntu 24.04 host prep, non-root users, SSH hardening, swap, firewall, Docker install.
references/traefik-dns.md Use for Traefik layout, dashboard tunneling, DNS, subdomains, Cloudflare, and routing patterns.
references/registry-storage-backup.md Use for private registries, image retention, bind mounts versus volumes, S3-compatible storage, backup, restore, and cleanup.
references/deploy-checklist.md Use for rollout steps, post-deploy verification, rollback, and maintenance cadence.
development
Create, reorganize, or update documentation for monorepos or single-project repos using root docs indexes, unique repo/module/feature identifiers, repo-owned detailed docs, cross-repo relationship maps, machine-readable frontmatter, API contracts, workflows, runbooks, testing, and debugging guidance.
development
Generate or update AGENTS.md/CLAUDE.md files for AI coding agents through auto-scanning project files combined with interactive Q&A. Supports multiple tech stacks, development environments, and preserves customizations when updating.
development
Create, reorganize, or update documentation for monorepos or single-project repos using root docs indexes, unique repo/module/feature identifiers, repo-owned detailed docs, cross-repo relationship maps, machine-readable frontmatter, API contracts, workflows, runbooks, testing, and debugging guidance.
development
Generate or update AGENTS.md/CLAUDE.md files for AI coding agents through auto-scanning project files combined with interactive Q&A. Supports multiple tech stacks, development environments, and preserves customizations when updating.