kelinfoxy 16b7e1f1a7 Documentation Reorganization
Major upgrade to the documentation.
2026-01-20 19:01:21 -05:00
2026-01-20 19:01:21 -05:00
2026-01-20 19:01:21 -05:00
2026-01-20 19:01:21 -05:00
2026-01-20 19:01:21 -05:00
2026-01-14 01:32:33 -05:00

AI Homelab

Docker Traefik Authelia

Production-ready homelab infrastructure with automated SSL, SSO authentication, and VPN routing. Deploy 70+ services through a file-based, AI-manageable architecture using Dockge for visual management.

🚀 Quick Start

Prerequisites

  • Fresh Debian/Ubuntu server (or existing system)
  • Root/sudo access
  • Internet connection
  • VS Code with GitHub Copilot (recommended for AI assistance)

Automated Setup

# Clone repository
git clone https://github.com/kelinfoxy/AI-Homelab.git
cd AI-Homelab

# Configure environment
cp .env.example .env
nano .env  # Add your domain and tokens

# Run setup script (installs Docker, generates secrets)
sudo ./scripts/setup-homelab.sh

# Deploy all services
sudo ./scripts/deploy-homelab.sh

Access your homelab:

  • Dockge: https://dockge.yourdomain.duckdns.org (primary management interface)
  • Homepage: https://home.yourdomain.duckdns.org (service dashboard)
  • Authelia: https://auth.yourdomain.duckdns.org (SSO login)

📚 Documentation

For comprehensive documentation, see:

🚀 Quick Navigation

New to AI-Homelab?Getting Started Guide

Need Help Deploying?Automated Setup

Want to Add Services?Service Creation Guide

Having Issues?Troubleshooting

Managing Services?Dockge Dashboard

Service Documentation

Individual service documentation is available in docs/service-docs/:

🏗️ Architecture

Core Infrastructure

  • Traefik - Reverse proxy with automatic HTTPS termination
  • Authelia - Single sign-on (SSO) authentication
  • DuckDNS - Dynamic DNS with wildcard SSL certificates
  • Gluetun - VPN client for secure downloads
  • Sablier - Lazy loading service for on-demand containers

Service Categories

  • Media - Plex, Jellyfin, Sonarr, Radarr, qBittorrent
  • Productivity - Nextcloud, Gitea, BookStack, OnlyOffice
  • Monitoring - Grafana, Prometheus, Uptime Kuma
  • Home Automation - Home Assistant, Node-RED, Zigbee2MQTT
  • Utilities - Backrest (backups), FreshRSS, Code Server

Key Features

  • File-based configuration - AI-manageable YAML files
  • Automated SSL - Wildcard certificates via Let's Encrypt
  • VPN routing - Secure download clients through Gluetun
  • Resource limits - Prevent resource exhaustion
  • SSO protection - Authelia integration with bypass options
  • Lazy loading - Sablier enables on-demand container startup
  • Automated backups - Restic + Backrest for comprehensive data protection

🤖 AI Management

This homelab is designed to be managed by AI agents through VS Code with GitHub Copilot. The system uses:

  • Declarative configuration - Services defined in Docker Compose files
  • Label-based routing - Traefik discovers services automatically
  • Standardized patterns - Consistent environment variables and volumes
  • Comprehensive documentation - AI instructions in .github/copilot-instructions.md

📋 Requirements

  • OS: Debian 11+, Ubuntu 20.04+
  • RAM: 4GB minimum, 8GB+ recommended
  • Storage: 50GB+ available space
  • Network: Stable internet connection
  • Hardware: x86_64 architecture (ARM support limited)

🔧 Manual Setup

If automated scripts fail, see:

🤝 Contributing

This project welcomes contributions! See individual service docs for configuration examples and deployment patterns.

📄 License

This project is open source. See individual service licenses for details.


Built with ❤️ for the homelab community

Description
No description provided
Readme MIT 19 MiB
Languages
TypeScript 81.6%
Swift 13.4%
Kotlin 1.9%
Shell 1.6%
CSS 0.6%
Other 0.8%