Templates
The template gallery provides ready-to-use endpoint configurations for common tasks. Browse by category, preview the YAML, and import in one click.
Browsing templates
Section titled “Browsing templates”Go to Templates in the dashboard sidebar. You’ll see a searchable grid of templates organized by category:
- Deployment — Docker Compose, git pull, rsync
- Docker — system prune, build & push, compose logs
- Database — pg_dump, pg_restore, migrations
- Git — log since tag, list branches
- Monitoring — disk usage, memory, tail logs, service status, HTTP ping
- Cron Jobs — weekly backup, cleanup, SSL cert check
Use the search bar to filter by name, description, or tag. Select a category from the dropdown to narrow results.
Importing a template
Section titled “Importing a template”Click Import on any template card to create the endpoint(s) in your account. Existing endpoints with the same slug are not overwritten.
After importing, go to Endpoints to customize the command, arguments, or schedule.
Previewing
Section titled “Previewing”Click a template card to expand it and see the full wrapd.yaml configuration. Click Copy YAML to copy it to your clipboard.
Templates are also available via the API:
# List all templatescurl https://hub.wrapd.sh/api/templates
# Get a specific templatecurl https://hub.wrapd.sh/api/templates/deploy-docker-compose
# Import a template (requires auth)curl -X POST https://hub.wrapd.sh/api/templates/import \ -H "Content-Type: application/json" \ -d '{"template_id": "deploy-docker-compose"}'