Running my stack on a mini PC under the desk
A used Lenovo ThinkCentre Tiny runs my n8n, scrapers, local AI models and agents for about $100. The hardware, the setup and what it actually handles.
By Md Anjum Kamali · · 4 min read

On this page
Under my desk there's a used Lenovo ThinkCentre Tiny that cost about $100. It runs my n8n workflows, my scrapers, a couple of local AI models and the agents I'm building. It's on all the time, and it means I don't pay a monthly bill for any of those things.
Here's the hardware, how I set it up, and where it falls short.
The hardware
| Part | What I have |
|---|---|
| Machine | Lenovo ThinkCentre Tiny, bought used from a local market |
| CPU | Intel Core i5-6402P (4 cores) |
| RAM | 8GB |
| Storage | 256GB SSD |
| Cost | About $100 |
Business mini PCs like this are the best value for a home server. Offices replace them in bulk, so there are lots of them second-hand. They're small, they draw little power, and they're built to run all day.
The i5-6402P is old, but none of what I run needs a fast CPU. The real limit is the 8GB of RAM, which I'll come back to.
The setup
I installed Ubuntu Server with no desktop. After the first boot I never plug in a screen. Everything happens over SSH from my laptop.
Then:
- Docker for every service. Each one runs in its own container with its own
docker-compose.yml, so I can update or delete one without touching the others. - Avahi so the machine announces itself on the local network. That's what lets my laptop find it by name instead of an IP address.
- Nginx as a reverse proxy in front of the containers, so each service gets its own name, like
n8n.local, instead of a port number to remember. - Cloudflare Tunnel for anything that needs to be reachable from outside. It gives a service a public HTTPS address without opening any ports on my router.
The naming bit sounds minor, but it changes how it feels to use. Typing n8n.local in a browser is much nicer than 192.168.1.23:5678.
What it runs
| Service | What it does for me |
|---|---|
| n8n | My automations, including the signup alert workflow |
| Scrapers | Scheduled jobs that run at 3 AM when nothing else is busy |
| Ollama | Local models: Qwen 2.5 3B for small text jobs and nomic-embed-text for embeddings |
| Postgres with pgvector | Storage and vector search for my AI memory project |
| Redis and BullMQ | Job queues for anything that takes a while |
| Agents | Local agents I'm experimenting with, including OpenClaw |
The AI memory project
The most interesting thing on the box is a personal memory system I'm building. It saves notes and snippets into Postgres, creates embeddings for them with nomic-embed-text through Ollama, and searches them with a hybrid of keyword and vector search, combined with reciprocal rank fusion (RRF). It removes duplicates before saving, and every night it writes a summary card for each category.
It exposes everything through an MCP server, so Claude can read from and write to it. Redis and BullMQ handle the slow jobs like embedding, and a Cloudflare Tunnel makes it reachable when I'm away from home.
None of it calls a paid API. The embeddings and the summaries all run on the mini PC.
What it's bad at
The 8GB of RAM is the ceiling. Postgres, Redis, n8n and a few containers already take a good share of it, which leaves room for a 3B parameter model and not much more. A 3B model is fine for tagging, summarising short text and pulling fields out of a page. It's not something you'd want writing your blog posts.
So I split the work. Small, frequent, private jobs run locally. Anything that needs a strong model goes to Claude.
The CPU also makes local models slow compared with a GPU. For background jobs that run at night, that doesn't matter. For anything interactive, it does.
Would I do it again
Yes, and I'd tell anyone who pays for several small hosted tools to try it. For the price of a couple of months of subscriptions you get a machine that runs all of them, and you learn how the pieces fit together along the way.
If I upgrade anything first, it'll be the RAM. 16GB would let me run a bigger model next to everything else, and on these machines it's a cheap swap.
If you want help setting up something similar for your own automations, that's one of the builds on my services page.
Questions people ask
Is a mini PC good enough for a home server?
For automation, scrapers, small databases and small local AI models, yes. A used business mini PC with an i5 and 8GB of RAM runs n8n, Postgres, Redis and a 3B parameter model comfortably. It isn't enough for large language models.
Which OS should I use for a home server?
Ubuntu Server without a desktop. You manage it over SSH, it uses less memory than a desktop install, and almost every self-hosting guide is written for it.
How do I reach my home server from outside my network?
Use a tunnel instead of opening ports on your router. Cloudflare Tunnel gives a service a public HTTPS address while the server stays behind your router.