This directory contains detailed guides for all Torrust Tracker Deployer commands.
- create - Create environments and generate configuration templates
create template- Generate environment configuration templatecreate environment- Create deployment environment from configuration
- validate - Validate environment configuration files without deployment
- show - Display environment information with state-aware details
- docs - Generate machine-readable JSON documentation of CLI interface
- provision - Provision VM infrastructure
- register - Register existing infrastructure (alternative to provision)
- render - Generate deployment artifacts without provisioning infrastructure
- configure - Configure provisioned infrastructure
- test - Verify deployment infrastructure
The typical command sequence for a complete deployment:
1. create template → Generate configuration template
2. (edit template) → Customize your settings
3. validate → Verify configuration is correct (optional but recommended)
4. create environment → Create environment from config
5. show → View environment details
6. provision → Provision VM infrastructure
7. configure → Install Docker, Docker Compose, configure firewall
8. test → Verify infrastructure readiness
9. release → Deploy application configuration and files
10. run → Start Torrust Tracker services
11. destroy → Tear down infrastructure
12. purge → Remove local data (optional, for cleanup)
These commands provide fine-grained control over each deployment step:
create template/create environmentshowprovision/registerconfiguretestreleaserunpurgedestroy
Best for: CI/CD pipelines, automation, advanced users, debugging
Simplified commands that orchestrate multiple plumbing commands:
deploy- Intelligent orchestration from current state to running
Best for: Quick deployments, beginners, interactive use
| Command | State Transition | Description |
|---|---|---|
create template |
N/A → Template | Generate config template |
create environment |
Template → Created | Create environment |
show |
(read-only) | Display environment info |
render |
(no state change) | Generate artifacts without infra |
provision |
Created → Provisioned | Provision infrastructure |
register |
Created → Provisioned | Register existing infra |
configure |
Provisioned → Configured | Install software, firewall |
test |
(validation only) | Verify infrastructure |
release |
Configured → Released | Deploy application files |
run |
Released → Running | Start services |
destroy |
Any → Destroyed | Tear down infrastructure |
purge |
Any → (removed) | Remove local data |
If you're new to the Torrust Tracker Deployer, we recommend:
- Start with the Quick Start Guides for Docker or native installation
- Use the individual command guides for detailed information
- Check the Console Commands Reference for technical details
- Quick Start Guides - Docker and native installation guides
- Console Commands Reference - Technical command reference
- Codebase Architecture - Understanding the internals