<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Matías Sánchez González</title>
    <description>The latest articles on DEV Community by Matías Sánchez González (@devmodee).</description>
    <link>https://dev.to/devmodee</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4261762%2Fac629ece-06e4-4ac7-8a90-4d68e0818743.jpg</url>
      <title>DEV Community: Matías Sánchez González</title>
      <link>https://dev.to/devmodee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devmodee"/>
    <language>en</language>
    <item>
      <title>How I replaced Docker + Coolify with 27 MB of Node + systemd on a 4 GB Celeron</title>
      <dc:creator>Matías Sánchez González</dc:creator>
      <pubDate>Tue, 24 Nov 2026 04:59:45 +0000</pubDate>
      <link>https://dev.to/devmodee/how-i-replaced-docker-coolify-with-27-mb-of-node-systemd-on-a-4-gb-celeron-4c13</link>
      <guid>https://dev.to/devmodee/how-i-replaced-docker-coolify-with-27-mb-of-node-systemd-on-a-4-gb-celeron-4c13</guid>
      <description>&lt;p&gt;I use an old 4 GB RAM school netbook (Intel Celeron N3060 running Debian 13) as a home server for 8 personal projects. Mostly Discord bots, small APIs, and a Cloudflare tunnel so I don't have to pay for a VPS.&lt;/p&gt;

&lt;p&gt;On a 2-thread Celeron with 4 GB of RAM, running Docker + Coolify or Portainer eats half the memory at idle before starting a single service. Moving everything to native &lt;code&gt;systemd&lt;/code&gt; units fixed the memory issue, but maintaining it over SSH got tedious fast. Every time a bot crashed or I pushed a commit, I was SSHing in to edit &lt;code&gt;.service&lt;/code&gt; files, check &lt;code&gt;journalctl&lt;/code&gt;, and restart services by hand.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://github.com/DevModee/Aeros-Panel" rel="noopener noreferrer"&gt;AerosPanel&lt;/a&gt; to handle that from a browser without adding a heavy daemon to the machine.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ksb8bhurl6ikfgljzqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ksb8bhurl6ikfgljzqf.png" alt="AerosPanel Server Info" width="800" height="541"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Memory footprint
&lt;/h3&gt;

&lt;p&gt;In the first version I was running the backend with &lt;code&gt;tsx watch&lt;/code&gt; during testing, which ended up taking 158 MB across 5 Node processes. That was way too much for this machine.&lt;/p&gt;

&lt;p&gt;I changed it so Express serves the compiled backend, the SQLite database, and the static React build from a single Node process, with no background polling daemons. Everything is read on demand when you open the UI.&lt;/p&gt;

&lt;p&gt;Right now on the Celeron managing 8 services, &lt;code&gt;systemctl status aeros-panel&lt;/code&gt; sits at &lt;strong&gt;27.1 MB&lt;/strong&gt; cgroup memory (17.8 MB &lt;code&gt;RssAnon&lt;/code&gt;, ~61 MB total &lt;code&gt;ps&lt;/code&gt; RSS).&lt;/p&gt;

&lt;h3&gt;
  
  
  What it actually does
&lt;/h3&gt;

&lt;p&gt;It's basically a wrapper around tools Linux already has:&lt;/p&gt;

&lt;p&gt;When you create a project in the UI, it generates a &lt;code&gt;systemd&lt;/code&gt; unit from a template (Node, Python, static Vite, Java/Minecraft, or presets like n8n, qBittorrent-nox, Filebrowser, and Syncthing). You can set a Linux user and cap resources with cgroups v2 (&lt;code&gt;MemoryMax=&lt;/code&gt; and &lt;code&gt;CPUQuota=&lt;/code&gt;) so a memory leak in one project doesn't kill the whole laptop.&lt;/p&gt;

&lt;p&gt;Each project has a live WebSocket terminal that streams &lt;code&gt;journalctl&lt;/code&gt;. There's a deploy button that runs &lt;code&gt;git pull&lt;/code&gt;, installs dependencies if the lockfile changed, builds, and restarts the service (plus an optional GitHub webhook endpoint using &lt;code&gt;X-Hub-Signature-256&lt;/code&gt; if you want &lt;code&gt;git push&lt;/code&gt; to trigger it automatically).&lt;/p&gt;

&lt;p&gt;Since it runs on an old laptop, I also added &lt;code&gt;/sys/class/&lt;/code&gt; reads for CPU temp and battery status, passive detection for Tailscale and Cloudflare Tunnel, optional Caddy domain snippets (&lt;code&gt;/etc/caddy/conf.d/&lt;/code&gt;), and daily backups using &lt;code&gt;systemd&lt;/code&gt; &lt;code&gt;.timer&lt;/code&gt; + &lt;code&gt;Type=oneshot&lt;/code&gt; units instead of running a separate cron/backup process in RAM.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpl8e1cr3ku3g0xmbpu3y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpl8e1cr3ku3g0xmbpu3y.png" alt="AerosPanel WebSocket Terminal" width="799" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Install
&lt;/h3&gt;

&lt;p&gt;If you have an old Debian/Ubuntu laptop or a cheap 1 GB VPS and want to try it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://raw.githubusercontent.com/DevModee/Aeros-Panel/main/scripts/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sudo bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer sets up the &lt;code&gt;systemd&lt;/code&gt; service and optionally caps &lt;code&gt;journald&lt;/code&gt; (&lt;code&gt;SystemMaxUse=64M&lt;/code&gt;, &lt;code&gt;RuntimeMaxUse=32M&lt;/code&gt;) so logs don't eat up small disks.&lt;/p&gt;

&lt;p&gt;Repo (MIT): &lt;a href="https://github.com/DevModee/Aeros-Panel" rel="noopener noreferrer"&gt;https://github.com/DevModee/Aeros-Panel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know if you run into any issues or if there's a service preset worth adding.&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>linux</category>
      <category>opensource</category>
      <category>systemd</category>
    </item>
  </channel>
</rss>
