Logo: Deploy App

Deploy App

Organisatioun
serversathome
deploy-app

Stand up a NEW containerized app or compose stack on a docker host. Use whenever the user wants to deploy, install, add, spin up, or "set up" a new container or stack (Jellyfin, Radarr, Sonarr, qBittorrent, Immich, a new arr app, a dashboard, etc.), or add a service to an existing stack. For fixing or operating an app that already exists, use docker-stack-ops instead; for updating images, use patch-management.

Iwwersiicht

Editeurserversathome
Repositoryhomelabhero
Skill-Nummdeploy-app
Stären
104
Forks
4
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    serversathome huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Deploy App an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/deploy-app
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/serversathome/homelabhero.git /tmp/homelabhero
mkdir -p .claude/skills
cp -r /tmp/homelabhero/ops/.claude/skills/deploy-app .claude/skills/deploy-app
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Deploy App an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Deploy App automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Deploy App net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Deploy a new app / stack

Adding or starting containers is state-changing: propose the compose, confirm, then bring it up.

First, learn THIS homelab's layout - do not assume

Read infra/docker-stacks.md for the host alias, which compose model is in use, the pool name, and the config/media paths. There are a few common structures and this homelab may use any of them:

  • Single compose file - one /mnt/<pool>/docker/docker-compose.yml holding every service; per-app config at /mnt/<pool>/configs/<app>; a single /mnt/<pool>/media mount.
  • Per-stack (Dockge) - /opt/stacks/<stack>/compose.yaml, with the app's volumes kept inside the stack directory.
  • Portainer - stacks pasted/edited in the Portainer UI.

If infra/docker-stacks.md does not say, ask which one before writing paths.

A common convention worth knowing (the "servers@home" / TrueNAS *arr layout)

This is one widely used structure, not the only correct one - match what the box actually uses:

  • One media dataset with subdirectories movies, tv, downloads (a single mount so the *arr apps can hardlink instead of copying); one configs dataset with a sub-dataset per app.
  • Volumes: /mnt/<pool>/configs/<app>:/config and /mnt/<pool>/media:/media.
  • PUID/PGID: 568/568 on TrueNAS (the apps group); commonly 1000/1000 on Ubuntu/Proxmox hosts. Always set TZ. Dataset perms 770, no spaces or capitals in names.
  • Images: lscr.io/linuxserver/<app> or ghcr.io/hotio/<app>; restart: unless-stopped; ports as HOST:CONTAINER.

Service template:

services:
  radarr:
    image: lscr.io/linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PUID=568
      - PGID=568
      - TZ=America/New_York
    volumes:
      - /mnt/tank/configs/radarr:/config
      - /mnt/tank/media:/media
    ports:
      - 7878:7878
    restart: unless-stopped

Download clients behind a VPN (killswitch)

Route a download client through a VPN container so it cannot leak the home IP. The client defines no ports of its own - the ports go on the VPN container, and the client joins its network. No depends_on is needed.

services:
  gluetun:                       # or a linuxserver/wireguard container
    image: qmcgaw/gluetun
    cap_add: [NET_ADMIN]
    environment:
      - VPN_SERVICE_PROVIDER=...
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=...
      - FIREWALL_VPN_INPUT_PORTS=6881
    ports:
      - 8080:8080               # the qBittorrent WebUI port lives HERE
      - 6881:6881/tcp
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    network_mode: "service:gluetun"   # shares the VPN's network stack
    # NO ports: block here

After it's up, confirm the egress IP is the VPN's, not home (see the gluetun rule in docker-stack-ops).

Workflow

  1. Confirm app, image, ports, and the layout/paths from infra/docker-stacks.md.

  2. Create the config dir/dataset with the right owner and 770 (on TrueNAS, create the dataset in the UI or mkdir under the configs dataset).

  3. Add the service block (single file) or create the stack dir (Dockge/Portainer). Show the user the compose and confirm before applying.

  4. Bring it up (state-changing):

    hh run <dockerhost> "cd <composedir> && docker compose up -d <service>"
  5. Verify: docker ps, docker logs --tail 80 <name>, and the WebUI on its port.

  6. External access wanted? Add it to the Cloudflare Tunnel (Zero Trust -> the tunnel -> add public hostname) or the reverse proxy - see network-diag and infra/. Do not publish anything externally without an explicit go-ahead.

Record the new app in infra/docker-stacks.md so the picture stays current.

Heefeg gestallte Froen

Wat mécht de KI-Skill Deploy App?

Stand up a NEW containerized app or compose stack on a docker host. Use whenever the user wants to deploy, install, add, spin up, or "set up" a new container or stack (Jellyfin, Radarr, Sonarr, qBittorrent, Immich, a new arr app, a dashboard, etc.), or add a service to an existing stack. For fixing or operating an app that already exists, use docker-stack-ops instead; for updating images, use patch-management.

Firwat Deploy App op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Deploy App besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Deploy App an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/deploy-app an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Deploy App benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Deploy App benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Deploy App domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Deploy App gratis?

serversathome huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇