Template System Overview
Templates package service metadata, configuration variables, requirements, and a Compose or Git deployment definition. Open Templates, select a card, then choose Deploy to configure and review it.
The Templates page
The page has two doors of equal size at the top:
- App catalog: the panel's ready-made apps, set up and tested for the panel.
- Your own apps: the ways to add an app that is not in the catalog, and the templates you added yourself (see Your own apps).
Inside the catalog:
- Search filters the cards as you type, matching the name, the description and the tags. Press
/anywhere on the page to jump to the search box, then the arrow keys to move through the results and Enter to open one. - Category chips (All apps, AI Agents, AI Apps, Knowledge & RAG, Automation, AI Models & Services, Databases, Developer Tools, Business Apps, and Tools when it has templates) show how many apps each one holds for the current search.
- Works without AI hides the apps that cannot start without an AI model (today Cognee, Graphiti MCP, Hindsight, Honcho, Inbox Zero and OpenViking). Small keeps the apps that need 1 GB of memory or less.
- Each card shows the app's own logo, what kind of app it is, a short description, the memory it needs, and a Needs AI or GPU badge where that applies. A Maintained badge marks the apps we keep up to date (none yet; every other app is Beta and shows no badge): see Template Support Levels.
- A search that finds nothing ends in the ways to bring your own app.
Reading about a template
Clicking a card opens a side panel over the catalog, so you can read about an app, close it and open the next one without losing your search. It answers four questions and ends in one Deploy button:
- What it is: the description.
- What you need, as a checklist. A green tick means the panel checked it and it is fine; an amber warning means something needs you first; a plain line is a fact the panel cannot check for you:
- the CPU and memory it needs, and whether your server is big enough (only for accounts that may see the server's size; others see the need alone);
- a GPU, when the app needs one. On the deploy page such an app starts with All GPUs selected under Advanced options. On a server without an NVIDIA GPU and the NVIDIA Container Toolkit, the deploy is refused with a message saying what to install, so the app never starts without the GPU it needs;
- whether it needs an AI model, and whether one is set up on this panel. When an app needs AI and none is set up, the line is amber and links to Settings → AI providers;
- the web address it gets and who can open it at first (private until you click Make public on the service page, unless the app is always behind panel sign-in or is a signed API that starts public);
- the version it installs.
- What you get: the running app at its own address, the AI model connected for you, its database in the panel's backups and panel sign-in in front of it, where each applies, then the first steps after deploying from the template.
- Read more: the project's website, GitHub and documentation.
Open full page opens the same facts as a page of their own at /templates/<id>, with the settings you can change on the deploy page. That is the address to share with a colleague: a copied card link (or a middle click) opens the full page too. The open side panel is part of the catalog address (?tpl=<id>), and the browser's Back button closes it. You pick the customer on the deploy page, so there is only one deploy form.
The chosen door and category are part of the address (?view=own, ?category=databases), so you can send someone a link to the same view.
Categories and availability
| Category | Examples |
|---|---|
| AI Agents | OpenClaw, Hermes Agent, OpenHands |
| AI Apps | Inbox Zero, LibreChat, Local Deep Research, OpenReader |
| Knowledge & RAG | Open WebUI, AnythingLLM, Onyx, Open Notebook, LightRAG |
| Automation | n8n, Dify, Langflow |
| AI Models & Services | Ollama, LiteLLM Proxy, Whisper |
| Databases | PostgreSQL, MySQL, Qdrant, Supabase |
| Developer Tools | Gitea, bolt.diy, Uptime Kuma |
| Business Apps | Mattermost, Karakeep |
| Tools | Infrastructure you run for yourself, never for a customer |
An older link to ?category=webapps opens Business Apps; ?category=ai opens All apps.
The Featured row at the top of the catalog shows OpenClaw, Hermes Agent, n8n, Paperclip and ContextForge, in that order, while no search or filter is active. Each template file says whether it is featured and where (metadata.featured, metadata.featuredOrder). A few templates are listed with lower prominence (metadata.lowProminence): never featured and shown after the others of their category. Each category page names them.
Every catalog card shows the template's upstream licence as a small label, and the side panel and template page repeat it with a one-line note where the licence has a condition an operator should know: a non-compete or no-hosting clause (AutoGPT, Outline, SurrealDB, Phoenix, FalkorDB), a multi-tenant or branding condition (Dify, FastGPT, Open WebUI), a use limit (n8n, AppFlowy), or paid features the template leaves off. This is information only: nothing asks you to confirm it or blocks a deploy. Read the licence itself before you offer an app to your own customers.
A template that cannot run as a template today is hidden: its manifest stays in the source with metadata.hidden: true and a hiddenReason, but the panel never lists, searches, features or deploys it. Each category page names its hidden templates and why. When a template is removed from the catalog or hidden, services you already deployed from it keep working: the panel keeps that template's record for them, so redeploy, recreate, moving to another customer and backups still work, but nobody can deploy it again. A listed card is not proof that a deployment will work on your host. Review each card's requirements and post-deploy notes.
The page reads the whole catalog (every page of the API, 100 entries per request) before it filters, so the counts on the doors and chips are the full catalog.
How templates work
Curated manifests live under internal/templates/catalog/ and are embedded into the panel. At startup, the loader validates and upserts them by name; hidden manifests are skipped, and a row an older version stored for one is removed. A manifest's category is its metadata.category, not its folder. The browser reads the database-backed catalog, including any custom entries. When deploying a Compose template, the panel substitutes variables, applies security settings, creates the service and deployment job, and starts its containers. Routing and health checks depend on the template and deployment configuration.
Manifest structure
This abridged example follows the shipped Uptime Kuma manifest. The compose field is a YAML string, not a nested object. It illustrates the format; use the full catalog manifest when authoring a template.
apiVersion: v2
kind: Template
metadata:
name: uptime-kuma
displayName: Uptime Kuma
description: Self-hosted uptime monitoring
category: devtools
spec:
minResources:
cpuCores: 1
memoryMB: 128
domains:
- port: 3001
variables:
- name: VERSION
displayName: Uptime Kuma Version
type: string
default: "1"
required: false
hidden: true
compose: |
services:
uptime-kuma:
image: louislam/uptime-kuma:${VERSION}
expose:
- "3001"
volumes:
- uptime_kuma_data:/app/data
healthcheck:
test: ["CMD-SHELL", "curl -sf -o /dev/null http://localhost:3001/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
uptime_kuma_data:
Variables can be strings, passwords, integers, selects, or booleans. Required fields must be completed; defaults and locked values depend on the manifest and security mode. Generated secrets and deploy-time values use the panel's ${AAP_*} tokens. See Template Authoring for the full contract.
Security and resources
The deploy form offers Secure, Advanced, and Raw modes and shows their consequences. Keep Secure for normal deployments. The Compose validator still rejects privileged mode, host networking, published host ports and added capabilities regardless of the variable-editing mode. Every container is also created with the panel's hardening baseline, enforced when the container is created rather than taken from the template text: 16 capabilities are dropped (no raw network sockets) and no-new-privileges is set. A template's cap_drop can remove more; its security_opt is not passed to Docker, with the single exception of BookStack (no longer offered; services deployed earlier keep it). Deployed services join only their customer's own network; the shared proxy and AI gateway join it instead (services deployed earlier move over when redeployed, not when restarted). Runtime hardening is not a guarantee of complete tenant isolation.
Review the resource requirements and selected limits before deploying. The form can block deployment when detected capacity is below the minimum, and customer quotas can also reject a request. Minimum resources are not a promise of performance.
Your own apps
The Your own apps door is where you add an app the catalog does not have. It is a place of its own, not a category: your templates never mix with the catalog cards. It offers:
- Generate with AI from a GitHub repo: opens the custom-template editor with the repository box ready (see below). Platform admins with the permission to manage templates see it.
- Write it yourself: opens the custom-template editor, where you paste a Docker Compose file or import a template
.yaml, and set the CPU and memory the app needs. It needs the permission to manage templates; without it, the door says to ask an administrator who has it. - How templates work: the authoring guide.
Below them, Your templates lists the templates added on this panel. They appear only on this panel. Use Compose Deploy instead for a one-off deploy of an existing Compose file. For a first application, follow First Deploy.
Generate with AI from a GitHub repo
At the top of the custom-template editor, paste the address of a public GitHub, GitLab or Bitbucket repository (and a branch, if not the default one) and press Generate. The panel's AI reads the repository, the same analysis Deploy from Git uses, and fills in the form: the name, display name, description (the repository address), tags, the Compose file and the CPU and memory it estimates. It needs an AI provider in the AI settings.
Nothing is saved or deployed: you review the form and press Save template yourself. Under the box the panel lists what it could not fill in for you:
- Builds from source: the Compose file uses
build:. A template runs published images, so replacebuild:withimage:and a published image, or deploy the repository from Git instead. Saving is refused until then. - Settings and secrets it reads: named, not turned into deploy-form settings; their values sit in the Compose file. Never save a real secret in a template: write
${AAP_SECRET_<ID>}so each deploy gets its own (see the authoring guide). - The size is the AI's estimate, and there is no logo yet (the catalog shows the first letter).
When the analysis cannot help, the editor says why and what to do next: a private or missing repository (the AI reads public repositories only), a branch that does not exist, an AI provider that answered "too many requests" or is not set up, and a repository with neither a Dockerfile nor a Compose file (deploy it from Git, where the panel builds it, or write the template yourself).