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
+6
View File
@@ -0,0 +1,6 @@
PUID=1000
PGID=1000
TZ=Europe/Berlin
CONFIG_PATH=/srv/jellyfin/config
MEDIA_PATH=/srv/media
HTTP_PORT=8096
+14
View File
@@ -0,0 +1,14 @@
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ:-Europe/Berlin}
ports:
- "${HTTP_PORT:-8096}:8096"
volumes:
- ${CONFIG_PATH:-/srv/jellyfin/config}:/config
- ${MEDIA_PATH:-/srv/media}:/media
+9
View File
@@ -0,0 +1,9 @@
{
"name": "Jellyfin",
"description": "Free media streaming server with optional hardware transcoding.",
"tags": [
"media",
"streaming"
],
"gpu": "NVIDIA / Intel optional"
}