App templates
One-click apps shipped with kipitiny, what installing one does, and how a template is written.
A template installs a common self-hosted app in one step: you answer a few questions, see what will be created, and kipitiny creates and deploys it. Afterwards they're ordinary services: edit, back up or delete them like any other.
Installing one
- Projects › From a template installs into a new project (named after the app by default, on the server you pick).
- Project page › Add an app installs into that project, next to its other services. Not for projects linked to git: add the services to the file instead.
- MCP:
list_templateslists them with their inputs;install_templateinstalls one into a project, created if missing (dry_runshows the plan only).
Each template asks only what it can't guess (a domain, a key from another app). Secrets it needs are generated and stored as secrets. Preview shows the services to create; nothing exists until Install and deploy. Installing never deletes or changes a service that already exists: a name already taken in the project is refused.
Available templates
Beszel agent
Reports this server's CPU, memory, disks, network and containers to a Beszel hub.
It runs with the server's network and Docker socket (see Host access), so only on the server it watches: install it once per server, in a project on that server.
- In the hub, Add System: copy its public key, and give the system the server's address and port
45876. - Install the agent with that key. The hub connects to it on port 45876: open it in the server's firewall to the hub only.
- Or give the agent a token and the hub URL (both from the hub): it connects to the hub itself, and no port needs to be open.
Beszel hub
Lightweight server monitoring with history, Docker stats and alerts. Install the Beszel agent on each server to watch.
The first visit creates the admin account.
Its data (users, systems, history) is in a volume: back it up from the service's Backups tab.
Mailpit
Email testing. Apps send to it over SMTP instead of a real server; you read every message in its web UI.
Sign in to the web UI with admin and the password you chose.
- Apps of this project send to
mailpiton port1025(SMTP, no TLS); any username and password are accepted. Apps of other projects reach it through a network they share with it. - For a mail catcher in each preview, set the service to Previews only in its settings: every preview gets its own, and none runs here. Previews then need
MP_UI_AUTH(admin:<password>) in the preview settings, like any secret. - Messages are kept in a volume, the 500 most recent.
Minecraft server
A Minecraft Java Edition server, vanilla or Paper, Fabric, Forge. The world is kept in a volume and backed up like any other.
- Accepting the Minecraft EULA is required: the server doesn't start without it.
- Server type, version, difficulty, game mode and message of the day can change later in the service's environment, then redeploy.
- Memory is the container's limit (default
2g); the server's Java heap takes three quarters of it. - The game port (default
25565) is published on the server: open it in the firewall. Players connect to the server's address, or to the optional domain whose DNS points at it (only for DNS: game traffic never goes through Traefik). - The world is in a volume. Before each volume backup, kipitiny has the server flush it to disk (
rcon-cli save-all flush, with a generated RCON password). - Mods and plugins: see the image's documentation (
MODRINTH_PROJECTS,PLUGINSand similar variables in the service's environment).
NetBird
WireGuard mesh VPN with SSO, access policies and a web dashboard. Peers connect directly, through the relay when they can't.
Set KIPITINY_TRAEFIK_READ_TIMEOUT=0 on the manager first: clients keep gRPC streams open, which Traefik otherwise cuts every 60 s.
- Open UDP 3478 (STUN) on the server's firewall. The domain then points straight at the server: no Cloudflare proxy or tunnel.
- The first visit to the domain creates the admin account. Then add peers with
netbird up --management-url https://your.domain, or setup keys from the dashboard. - Peers, users and keys are in the
datavolume: back it up from the service's Backups tab.
Paperless-ngx
Scan, index and archive your documents. OCR makes every scan and PDF searchable; tags, correspondents and rules file them.
Sign in with the admin user and password you give here; add other users in Paperless's settings.
- Add documents by uploading them in the web UI, by email (Mail in its settings), or by dropping files in the
consumevolume from the service's Files tab. - Documents, thumbnails and the search index are in the
mediaanddatavolumes, the metadata in thedbdatabase: back up both. - OCR language is the main language of your documents, as Tesseract codes (
eng,deu,fra,ita,spaare installed; several with+, likedeu+eng). Others needPAPERLESS_OCR_LANGUAGESin the service's environment. - OCR of large scans takes memory: give the server 2 GB or more.
Umami
Simple, privacy-friendly web analytics. No cookies, GDPR-compliant, one small script per site.
Sign in with admin / umami, then change the password right away (Settings → Profile).
- Add a website in Settings → Websites and put its tracking script in your pages.
- Sites, users and events are in the
dbdatabase: back it up from its Backups tab. - Two-factor sign-in needs
TWO_FACTOR_ENCRYPTION_KEYin the service's environment: 64 hex characters, like the output ofopenssl rand -hex 32.
Writing a template
A template is a folder in internal/templates/files/, built into kipitiny:
internal/templates/files/beszel-hub/
├── compose.yaml the template
└── logo.svg optional: the logo it brings
compose.yaml is a compose file with a top-level x-template block (which Docker Compose and kipitiny's compose import ignore):
x-template:
title: Beszel hub
description: Lightweight server monitoring with history, Docker stats and alerts.
website: https://beszel.dev
docs: https://beszel.dev/guide/getting-started
icon: beszel
category: monitoring
tags: [metrics, docker, alerts]
notes: |
The first visit creates the admin account.
Its data is in a volume: back it up from the service's **Backups** tab.
logo:
label: Beszel
color: "#747BFF"
images: [beszel, beszel-agent]
inputs:
- name: DOMAIN
label: Domain
type: domain
required: true
help: Where the dashboard is served.
name: beszel
services:
hub:
image: henrygd/beszel:0.21.0
expose: ["8090"]
environment:
APP_URL: https://${DOMAIN}
volumes:
- data:/beszel_data
x-kipitiny:
domain: ${DOMAIN}
volumes:
data: {}
- The folder name is the template's id;
nameis the default project name. notesis markdown shown after the description, in the install dialog and in the list above: what to do after installing, ports to open, caveats. Paragraphs, lists,**bold**,`code`and[links](…)only, no headings; a link to/docs/<page>opens that page of the docs of the running version.categorygroups the gallery:monitoring,analytics,automation,development,storage,media,communication,productivity,securityorgames.tagsare extra words its search matches.- Each input becomes the variable
${NAME}of the file (the.envof a compose import). A${NAME}that is a wholeenvironmentvalue is stored as a secret, unlessx-kipitiny.secretslists the secrets. - Input fields:
name(UPPER_CASE),label,type(text,secret,domain,url,selectwith itsoptions, orcheckbox, whose value istrueorfalseand whichrequiredmakes mandatory),help(itshttps://URLs become links),placeholder,default,required, andgenerate(a number of random bytes: the value is generated, not asked). Inputs work anywhere compose variables do (ports,mem_limit…) and inx-kipitiny.domain.
Logos
icon names the logo shown for the template and for the services it creates. Either it's one the UI draws itself (postgres, redis, mysql, mariadb, mongodb, nginx, node), or one template brings it: a logo.svg next to its compose.yaml, and x-template.logo with its label, its brand color (#rrggbb, which tints its tile) and the images whose base name it also stands for (ghcr.io/henrygd/beszel-agent:1 → beszel-agent), so services deployed without the template get it too. Several templates can share a logo (the Beszel agent uses the hub's); only one brings it.
The SVG is a plain drawing: one <svg> element with xmlns, at most 16 KB, no scripts, event handlers, foreignObject or links outside the file. The UI shows it as an image.
Checks and updates
- A test checks that every template parses, that it uses exactly the variables it declares, and that its logo exists.
- A smoke test installs every template on a throwaway Docker, with its required inputs filled in, and checks that each service deploys and stays up. CI runs it on pull requests that change a template, and weekly. Locally, against a Docker daemon without kipitiny on it (a
docker:dindcontainer works):KIPITINY_TEST_TEMPLATES=1 go test ./internal/core/ -run TemplatesDocker. - After adding or changing one, run
go generate ./internal/templates: the demo on this website and the list above come from the file it generates, and a test fails while that file is stale. - Pin images by version. Dependabot opens a pull request when a newer one is out (the Beszel images move together); CI checks the template still parses and runs. Apps already installed keep their version.