Selfhost AI deploys a pick-and-choose stack of open AI and automation tools—n8n, Ollama, Open WebUI, agents, vector DBs, Supabase, ComfyUI, and monitoring—behind Caddy on your VPS.
Overview
Selfhost AI is a Docker Compose installer guided by an interactive wizard. You select services, it generates secrets, configures firewall basics, and exposes each chosen app on subdomains with automatic Let’s Encrypt certificates through Caddy.
Optional components include workflow automation, local LLM inference, chat UIs, agent frameworks, RAG pipelines, image generation, databases, and Grafana dashboards. Always-on core services include Caddy, PostgreSQL, and Valkey.
The project targets Ubuntu VPS hosts with a public IP and wildcard DNS, not local-only machines. Everything runs on infrastructure you control without vendor lock-in.
Key features
- Interactive install wizard
- 30+ optional AI services
- Caddy automatic HTTPS
- Generated secrets and env files
- Grafana and Prometheus monitoring
- Local LLMs via Ollama
- n8n workflow automation
- Health checks and updates
Use cases
- Stand up a private AI homelab
- Self-host chat and agents
- Automate workflows with n8n
- Keep LLM data on your server
- Replace hosted automation stacks