Deploy homelab-manager to slayo server, scaffold new workspaces, and add shadcn/ui components. Use when deploying, adding a workspace, adding UI components, or running homelab operations.
Project-specific skill for the homelab-manager app. Covers deployment, workspace scaffolding, and UI component management.
| Command | What it does |
|---|---|
/homelab deploy | Build, sync, and restart on slayo |
/homelab add-workspace <name> | Scaffold full-stack workspace |
/homelab add-ui <component> | Install shadcn/ui component |
Deploys the app to slayo server (192.168.1.99). Three sequential steps — each must succeed before the next.
Build frontend
npm run build
Sync to server
rsync -avz --exclude node_modules --exclude dist --exclude .git --exclude data . slayo:/home/slayo/docker/homelab-manager/
The excludes are critical — node_modules is 200MB+ and data/ contains runtime state.
Rebuild container
ssh slayo "cd /home/slayo/docker/homelab-manager && docker compose up -d --build"
Uses multi-stage Dockerfile: builds frontend inside container, installs only prod deps.
After deploy, confirm the container started:
ssh slayo "docker ps --filter name=homelab-manager --format '{{.Status}}'"
App is live at http://slayo:3456.
The container mounts the host's Docker socket but uses its own docker binary (docker.io apt package). This binary does not include the docker compose plugin. The host's compose plugin must be mounted as a volume in compose.yml: