Phase 25: templates as stack folders (0.31.0)

Templates are now stack-shaped folders (compose.yaml + .env.example +
template.json) instead of DB rows + manifest.json + {{VAR}} rendering.
Pull copies the folder into a new stack; custom templates persist under
DATA_DIR/templates. Adds POST /api/templates/from-stack and a one-time
startup migration for pre-0.31 DB templates (drops the template table).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
menzelj
2026-06-12 07:29:54 +00:00
co-authored by Claude Fable 5
parent 34cb215266
commit 1609b8bcc3
29 changed files with 564 additions and 329 deletions
@@ -0,0 +1,2 @@
DATA_PATH=/srv/uptime-kuma
HTTP_PORT=3001
@@ -0,0 +1,9 @@
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
restart: unless-stopped
ports:
- "${HTTP_PORT:-3001}:3001"
volumes:
- ${DATA_PATH:-/srv/uptime-kuma}:/app/data
@@ -0,0 +1,8 @@
{
"name": "Uptime Kuma",
"description": "Self-hosted uptime / status monitoring tool.",
"tags": [
"monitoring"
],
"gpu": null
}