AI SummaryA Copilot prompt booster providing architectural patterns and configuration rules for managing a self-hosted homelab stack with Docker Swarm, Traefik, and integrated services. Ideal for developers building or maintaining complex multi-service home infrastructure.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "homelab-stack — Copilot Instructions" prompt rules to my project. Repository: https://github.com/FarDust/homelab-stack Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Homelab stack powered by Docker Swarm 🏠🐳Spin up self-hosted apps ⚙️, secure them with Cloudflare ☁️ & OAuth2 🔐, monitor everything with Grafana 📊 — plug & play vibes for your homelab life.
Agent Insights & Patterns
Quick reference for AI agents working on this infrastructure.
Traefik Entrypoint Selection
• HTTPS interfaces → websecure entrypoint + Host() rule • Custom protocols (postgresql://, redis://, mongodb://) → host-internal entrypoint + HostSNI() rule • TCP vs HTTP: If it uses https:// URLs, use websecure. If it uses custom:// protocol, use host-internal.
Network Assignment Rules
• External access only: traefik-public network • Internal cluster only: traefik network • Both internal + external: Both networks (don't remove traefik when adding traefik-public)
Domain Variables
• ${LOCAL_DOMAIN}: Internal/VPN services • ${DOMAIN_NAME}: External/public services (rare)
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts