One-command installer for N8N + Flowise + PostgreSQL + Monitoring

TL;DR:
I’ve forked and extended @coleam00’s excellent local-ai-packaged to build a VPS-optimized, beginner-friendly installer for n8n and a full AI/automation stack.

This version focuses on self-hosted deployment, automatic HTTPS, and an interactive setup wizard — ideal for spinning up a private LLM-powered environment on any cloud server.

:backhand_index_pointing_right: GitHub – kossakovsky/n8n-installer


:wrench: What it includes (and sets up)

The installer launches a complete, containerized automation and LLM environment, built specifically for VPS use:

Service Purpose
n8n Workflow automation (runs in queue mode, multi-worker)
Supabase Database, auth, storage, REST API, and vector support
Flowise Visual builder for LLM chains and agents
Open WebUI Chat-style interface for LLMs
Qdrant High-performance vector DB
Weaviate Scalable vector search engine
Langfuse LLM observability and feedback tracking
Letta Lightweight orchestrator for local LLM flows
Crawl4ai Web crawler for RAG pipelines
Neo4j Graph database (optional)
Redis, Postgres Core infra for queues and persistence
Grafana Monitoring dashboards
Prometheus Metrics backend
Caddy Automatic HTTPS reverse proxy
SearXNG Private metasearch engine

All services run in a secure private Docker network and are routed via HTTPS. You choose what to install — it’s modular.


:busts_in_silhouette: Who is this for?

  • :test_tube: AI builders deploying to cloud servers
  • :man_technologist: Devs working with GPT, embeddings, vector pipelines
  • :hammer_and_wrench: Indie hackers launching MVPs with agents and automations
  • :locked_with_key: Self-hosters who want full control
  • :man_in_lotus_position: Anyone tired of maintaining 12 different compose files

:warning: This stack is built for VPS/server use only — not intended for local/desktop environments.


:rocket: How to install

:warning: Prerequisite:
You must own a registered domain (e.g., yourdomain.com) and configure a DNS A-record (or wildcard *.yourdomain.com) pointing to your VPS IP address before running the installer.

SSH into your VPS and run:

git clone https://github.com/kossakovsky/n8n-installer && cd n8n-installer && bash install.sh

You’ll be asked for your domain and a few other basics. The wizard will auto-generate secure secrets, configure services, and set up HTTPS.

:one_o_clock: Installation time: 5–10 minutes, depending on your server specs.

Keep in mind that DNS changes may take time to propagate.
Depending on your domain registrar and DNS provider, it can take anywhere from a few minutes to up to 24 hours for your new A-record to become active globally.


:repeat_button: How to update

To pull the latest version and refresh services:

bash update.sh

Any new components will appear in the wizard automatically.


:wrapped_gift: Bonus: 300+ ready-to-import workflows

You can optionally import 300+ real-world n8n workflows during setup — helpful if you’re exploring or just want to save time.


:page_facing_up: Technical details

VPS requirements (RAM, CPU, disk), OS recommendations, volume mappings, and other setup notes are listed in the GitHub README.


:folded_hands: Credits

This project builds on the excellent work by @coleam00.
Huge thanks to Cole Medin for creating and maintaining local-ai-packaged.

My fork focuses on:

  • VPS-first setup experience
  • Interactive service wizard
  • Auto HTTPS with Caddy
  • Simplified updates and config
  • 300+ n8n workflows available during install

:link: GitHub

:backhand_index_pointing_right: https://github.com/kossakovsky/n8n-installer

PRs and feedback are welcome!


:robot: Final thoughts

This project started as a shortcut for myself and turned into a reusable, production-ready stack for anyone building AI-powered automations with n8n.

Let me know what you think — and if it helps you, a :star: on GitHub is always appreciated :raising_hands:

11 Likes

Thanks🙏you are very cool

1 Like

Hi! how to install n8n-installer on a local server (home network) without a domain using localhost/127.0.0.1/192.168.x.x?

It’s intended to be used on VPS only, so there is no way to use it on local computer

I understand, but I actually have an unused mini PC, and I was hoping to run it locally on that machine instead of using a VPS. Thanks

This is awesome! Thanks for that great easy tool stack installer!

Brilliant. I was in the throws of building something similar for myself with the ai-starter-kit. Maybe I can contribute? I have my solution working in Azure VM with TLS (Caddy) and HTTPS on a public domain. I was in process of hardening my VM when I saw this!

I will take a closer look, but perhaps what I need is what you have. I needed Observability and Grafana and you have built that in.

Thank you.

Absolutely, contributions are very welcome. Repo is linked in the post—feel free to open an issue to discuss scope or just send a PR :slight_smile:
Thanks you!

3-month update: From zero to AI automations on a VPS — now even easier

Quick update on my one-command, VPS-friendly installer for a full n8n + AI/automation stack (auto-HTTPS, private Docker network, interactive wizard). Repo: github.com/kossakovsky/n8n-installer

What’s new

Media & docs

  • ffmpeg available inside n8n — call it from Execute Command / Code nodes for audio/video conversion, trimming/concat, thumbnails/GIFs, resizing/bitrate tweaks.
  • Gotenberg (HTML/Markdown/Office → PDF/PNG/JPEG), exposed only on the internal Docker network by default — perfect for invoices/reports.

AI tooling

  • ComfyUI for Stable Diffusion pipelines (inpainting, upscaling, control nets).
  • Dify (agents, RAG, prompts, workflows) to complement n8n/Flowise.
  • RAGApp (simple doc-chat UI + HTTP API) for lightweight Q&A endpoints.

Ops & UX

  • Portainer — friendlier Docker management: start/stop, logs, images, volumes.
  • Postiz — open-source social scheduling for content pipelines.
  • “Low-disk” panic button: sudo bash ./scripts/docker_cleanup.sh to reclaim space safely.
  • Update everything: sudo bash ./scripts/update.sh now refreshes the whole stack and can re-import the workflow pack.

DB health & backups

  • Postgresus UI for PostgreSQL monitoring + automated backups (enable via wizard).

Quick refresher (what this installer is)

  • VPS-first & modular: everything runs on a private Docker network behind Caddy with automatic HTTPS; pick only what you need during the wizard.
  • n8n in queue mode by default (Redis), and you can choose the number of workers.
  • 300+ real-world n8n workflows can be imported during install.

Who might like this

:test_tube: AI builders on a VPS
:man_technologist: Folks wiring GPT/embeddings/vector pipelines into n8n
:hammer_and_wrench: Indie hackers prototyping agents & automations
:locked_with_key: Self-hosters who want full control
:sweat_smile: Anyone tired of juggling 12 compose files

Install / Update

OS: Ubuntu 24.04 LTS or newer.
Prereq: point a wildcard subdomain (e.g., *.yourdomain.com) to your VPS IP before running the installer.

Fresh install

git clone https://github.com/kossakovsky/n8n-installer \
  && cd n8n-installer \
  && sudo bash ./scripts/install.sh

Update existing setup

sudo bash ./scripts/update.sh

Wizard asks for your domain/email, optional API keys, which services to enable, # of n8n workers — and can import 300+ workflows.

Links & context

Happy to answer questions, swap ideas, or take PRs. And if it saves you time, a :star: on GitHub would be lovely :raising_hands:

1 Like