# n8n-install

> Selfhost AI is an open-source Docker Compose installer for a complete AI homelab with n8n, Ollama, Open WebUI, AI agents, RAG, and monitoring behind automatic HTTPS.

- **Category:** AI Automation
- **Licence:** Apache-2.0
- **Latest version:** v1.18.2
- **Open source:** oss
- **Languages:** JavaScript, Shell
- **Platforms:** Docker Compose
- **Tags:** Monitoring, Mcp, Workflow Automation, Ai Agents, Homelab, LLM, Rag, Ollama, Supabase, Openclaw, AI Automation, Docker Compose, Comfyui, Self Hosted, Vector Database, N8n, Open webui, Local llm, Flowise, Selfhosted, Dify, Zapier Alternative

## Description

Selfhost AI installs a full AI homelab on your own server using Docker Compose. An interactive wizard chooses which of the 30+ services to run, generates every secret, and wires them behind Caddy with automatic Let's Encrypt certificates. The stack includes n8n for workflow automation, Ollama for local LLM inference, Open WebUI as a ChatGPT-style chat, AI agents such as OpenClaw, Flowise, Keelflow, Dify and Letta, RAG engines like LightRAG and RAGFlow, vector databases Qdrant and Weaviate, Supabase as a Firebase alternative, ComfyUI and InvokeAI for image generation, and Grafana/Prometheus for monitoring. It runs on Ubuntu 24.04 LTS with a public IP and a domain; minimum resources are 4 GB RAM and 2 CPU cores for the core services, or 20 GB RAM and 4 CPU cores for everything. The project is Apache 2.0 licensed with no vendor lock-in.

## Links

- [Homepage](https://github.com/kossakovsky/n8n-install)
- [Website](https://github.com/kossakovsky/selfhost-ai#readme)
- [Documentation](https://github.com/kossakovsky/selfhost-ai/tree/main/docs)
- [GitHub Repository](https://github.com/kossakovsky/selfhost-ai)
- [Issues](https://github.com/kossakovsky/selfhost-ai/issues)
- [Discussions](https://github.com/kossakovsky/selfhost-ai/discussions)

---
Source: https://selfhost.directory/project/n8n-install