vps-docker-traefik-deploy
Skill68 starsChanged 7 months agoApache-2.0View on GitHub
Prepare or operate production Docker Compose deployments on a VPS with Traefik, DNS, registries, persistent storage, backups, and rollback. Use for production infrastructure and releases, rather than local development.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agents-md-generatorSkill
- brainstorm-firstSkill
- debugging-workflowSkill
- design-system-generatorSkill
- docker-local-devSkill
- documentation-guidelinesSkill
- laravel-11-12-app-guidelinesSkill
- laravel-13-app-guidelinesSkill
- office-web-ui-systemSkill
- performance-optimizationSkill
- project-development-mindsetSkill
- run-reviewable-subtask-loopSkill
- testing-verificationSkill
- ui-ux-concept-implementationSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Run in the main conversation by default.
- Distinctive: line 16
Read existing runbooks, Compose and Traefik configuration, release scripts, and available host evidence.
- Distinctive: line 22
Use authorization already granted for the named environment and action.
- Distinctive: line 23
Keep databases, caches, registry/admin dashboards, and internal app ports private by default.
- Distinctive: line 24
Keep credentials out of images, source, logs, and reports.
- Very specific: line 25
Use immutable image tags or digests and retain the prior release.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
VPS Docker Traefik Deploy
Deliver the requested deployment work using the project's operating contract. Distinguish planning and file preparation from changing a live environment.
Delegation
Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.
Establish the target
Read existing runbooks, Compose and Traefik configuration, release scripts, and available host evidence. Establish the target host, OS, domains, ingress, registry, persistent data, backup/restore expectations, and deployment authorization. Discover facts before asking; for a routine release the existing runbook and configuration usually answer them.
For an existing deployment, preserve supported topology and required release gates. For a new one, prefer a supported Ubuntu LTS or Debian stable host, an operator account with appropriate privileges, registry-built immutable images, and Traefik ingress. Verify current official installation guidance when provisioning; reference commands are examples, not a reason to reinstall a working host.
Keep production boundaries explicit
- Use authorization already granted for the named environment and action. Prepare configuration, diffs, checks, and rollback before asking for any missing live-operation approval. Ask about a new destructive migration or exposure outside that scope.
- Keep databases, caches, registry/admin dashboards, and internal app ports private by default. Expose only needed ingress and operator access, commonly SSH, HTTP/ACME, and HTTPS. Use loopback bindings and SSH tunnels for private operator tools when suitable.
- Keep credentials out of images, source, logs, and reports. Preserve persistent state outside container writable layers.
- Use immutable image tags or digests and retain the prior release. Avoid server-side rebuilds and mutable
latestreferences for releases unless the established operating contract provides equivalent reproducibility. - Address backup and rollback for affected persistent state. A container rollback cannot undo an incompatible database migration; establish the recovery path before applying it.
Prepare, deploy, verify
Choose only the references needed for the work:
| Work | Reference |
| New host, operator access, SSH/firewall, Docker | server-baseline.md |
| Traefik, TLS, DNS, dashboard access | traefik-dns.md |
| Registries, persistence, capacity, backup and restore | registry-storage-backup.md |
| Rollout, health, rollback, maintenance | deploy-checklist.md |
Validate the effective configuration without exposing secrets, confirm image availability and recovery readiness, then execute the authorized rollout. Verify container health, public routes/TLS, logs, and affected application flows. Test restore in an isolated target when required; never restore over live data as a casual verification step.
Reuse valid evidence for unchanged responsibilities, while completing the project's production release gate. Pruning, retention changes, DNS changes, and host hardening belong in a release only when needed and authorized.
Handoff
Report what was prepared or deployed, the target and immutable release identifier, checks and results, and rollback readiness. For new infrastructure, include topology, public exposure, state ownership, and recovery commands. Keep a routine release report to what changed. Say a restore was tested only when it actually ran, not when its configuration was inspected.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

