<?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: konsongong</title>
    <description>The latest articles on DEV Community by konsongong (@gongkang).</description>
    <link>https://dev.to/gongkang</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%2F4247586%2Fbf09e217-da19-453e-b553-28767b36c8ec.png</url>
      <title>DEV Community: konsongong</title>
      <link>https://dev.to/gongkang</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gongkang"/>
    <language>en</language>
    <item>
      <title>Self-Host Firefly III with Docker Compose: Personal Finance Manager</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sun, 06 Dec 2026 16:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-firefly-iii-with-docker-compose-personal-finance-manager-3dip</link>
      <guid>https://dev.to/gongkang/self-host-firefly-iii-with-docker-compose-personal-finance-manager-3dip</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;187.7 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;93.6s&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;db&lt;/code&gt; 152.0 MB · &lt;code&gt;app&lt;/code&gt; 27.5 MB · &lt;code&gt;redis&lt;/code&gt; 8.2 MB &lt;em&gt;(sandbox verified 2026-12-01)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-firefly-iii-docker-compose/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Firefly III does and what it needs
&lt;/h2&gt;

&lt;p&gt;Firefly III is a self-hosted personal finance manager built around double-entry bookkeeping. You record transactions between asset, expense, and revenue accounts, then slice the data with budgets, categories, tags, piggy banks, and reports. It ships a REST JSON API, rule-based transaction handling, recurring transactions, and two-factor authentication. Nothing leaves your server unless you explicitly configure an importer or mailer.&lt;/p&gt;

&lt;p&gt;The application is a Laravel PHP app. In production it needs a database (MySQL/MariaDB or PostgreSQL; SQLite is supported but not what you want for a multi-year ledger), a persistent &lt;code&gt;storage&lt;/code&gt; volume for uploads and attachments, and an &lt;code&gt;APP_KEY&lt;/code&gt; that encrypts sensitive columns. Redis is optional but recommended: the env template lets you move &lt;code&gt;CACHE_STORE&lt;/code&gt; and &lt;code&gt;SESSION_DRIVER&lt;/code&gt; off the filesystem, which keeps the app snappy once you have thousands of transactions.&lt;/p&gt;

&lt;p&gt;The upstream project does not publish a minimum memory figure. Practical sizing depends on workload: an idle single-user instance with a few thousand transactions runs comfortably in a small container, while heavy report generation, large CSV imports, and the data importer hammering the API push PHP memory usage up. The env template exposes &lt;code&gt;PHP_MEMORY_LIMIT&lt;/code&gt; (default &lt;code&gt;512M&lt;/code&gt;) — raise it if imports or reports get killed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker Engine 24+ with the Compose v2 plugin.&lt;/li&gt;
&lt;li&gt;A hostname pointing at your VPS (e.g. &lt;code&gt;finance.example.com&lt;/code&gt;) if you want HTTPS. You can test on &lt;code&gt;127.0.0.1:8080&lt;/code&gt; first.&lt;/li&gt;
&lt;li&gt;Port &lt;code&gt;8080&lt;/code&gt; on the host, bound to localhost only. The container listens on &lt;code&gt;8080&lt;/code&gt; internally; the official image does not use port 80.&lt;/li&gt;
&lt;li&gt;Two named volumes: &lt;code&gt;firefly_iii_upload&lt;/code&gt; mounted at &lt;code&gt;/var/www/html/storage/upload&lt;/code&gt; (attachments, logos, imported files) and &lt;code&gt;firefly_iii_db&lt;/code&gt; for MySQL data. Losing the upload volume means losing attachments; losing the DB volume means losing everything.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;APP_KEY&lt;/code&gt; must be exactly 32 characters. Generate it with &lt;code&gt;openssl rand -hex 16&lt;/code&gt; (32 hex chars) or &lt;code&gt;openssl rand -base64 32&lt;/code&gt; and trim to 32. Changing it later breaks encrypted fields.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;STATIC_CRON_TOKEN&lt;/code&gt; is a shared secret used by the built-in cron endpoint. Generate a random string and keep it stable.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Full Verified Docker Compose Setup, Reverse Proxy &amp;amp; Troubleshooting
&lt;/h2&gt;

&lt;p&gt;Get the complete sandbox-tested &lt;code&gt;compose.yml&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt; secrets setup, Caddy/Nginx HTTPS config, backup commands, and troubleshooting Q&amp;amp;A on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/self-host-firefly-iii-docker-compose/" rel="noopener noreferrer"&gt;Read the full verified guide on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;Browse all measured self-hosted RAM benchmarks&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-firefly-iii-docker-compose/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-firefly-iii-docker-compose/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>fireflyiii</category>
      <category>finance</category>
      <category>docker</category>
      <category>selfhosting</category>
    </item>
    <item>
      <title>Self-Host Beszel with Docker: Lightweight Server Monitoring Hub</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sun, 06 Dec 2026 15:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-beszel-with-docker-lightweight-server-monitoring-hub-l0e</link>
      <guid>https://dev.to/gongkang/self-host-beszel-with-docker-lightweight-server-monitoring-hub-l0e</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;16.3 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;45.4s&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;beszel&lt;/code&gt; 16.3 MB &lt;em&gt;(sandbox verified 2026-12-01)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-beszel-docker-monitoring/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Beszel does and what it needs
&lt;/h2&gt;

&lt;p&gt;Beszel is a lightweight server monitoring platform built on PocketBase. It ships two components: a &lt;strong&gt;hub&lt;/strong&gt; (the web UI and database) and an &lt;strong&gt;agent&lt;/strong&gt; (a small Go binary that runs on each monitored host and pushes metrics to the hub). The hub stores historical CPU, memory, disk, network, temperature, GPU, S.M.A.R.T., and Docker container stats, and fires alerts through many notification providers.&lt;/p&gt;

&lt;p&gt;The upstream project does not publish a minimum memory figure. In practice the hub is tiny at idle (a few tens of MB) and grows with the number of connected agents and the retention window of historical data. Plan for more RAM if you monitor many hosts or keep long histories.&lt;/p&gt;

&lt;p&gt;The hub listens on port &lt;strong&gt;8090&lt;/strong&gt; and persists everything under &lt;code&gt;/beszel_data&lt;/code&gt; inside the container. That directory is the only state you must back up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Linux VPS with Docker Engine and the Compose plugin installed.&lt;/li&gt;
&lt;li&gt;Port &lt;strong&gt;8090&lt;/strong&gt; available on the host. We bind it to &lt;code&gt;127.0.0.1&lt;/code&gt; so a reverse proxy can terminate TLS; the app is never exposed unencrypted on the public IP.&lt;/li&gt;
&lt;li&gt;A named volume for &lt;code&gt;/beszel_data&lt;/code&gt;. Do not use a bind mount to an arbitrary host path — a named volume keeps permissions and backups predictable.&lt;/li&gt;
&lt;li&gt;If you want to monitor the same host that runs the hub, you also need the &lt;code&gt;henrygd/beszel-agent&lt;/code&gt; container. The official docs show a host-network agent with a shared unix socket at &lt;code&gt;/beszel_socket/beszel.sock&lt;/code&gt;. That is optional and separate from the hub stack below.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Create the project directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/beszel &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; ~/beszel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Full Verified Docker Compose Setup, Reverse Proxy &amp;amp; Troubleshooting
&lt;/h2&gt;

&lt;p&gt;Get the complete sandbox-tested &lt;code&gt;compose.yml&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt; secrets setup, Caddy/Nginx HTTPS config, backup commands, and troubleshooting Q&amp;amp;A on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/self-host-beszel-docker-monitoring/" rel="noopener noreferrer"&gt;Read the full verified guide on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;Browse all measured self-hosted RAM benchmarks&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-beszel-docker-monitoring/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-beszel-docker-monitoring/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>monitoring</category>
      <category>docker</category>
      <category>selfhosting</category>
      <category>devops</category>
    </item>
    <item>
      <title>Self-Host Gatus with Docker: Health Dashboard &amp; Status Page</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sun, 06 Dec 2026 14:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-gatus-with-docker-health-dashboard-status-page-5bjp</link>
      <guid>https://dev.to/gongkang/self-host-gatus-with-docker-health-dashboard-status-page-5bjp</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;11.4 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;40.7s&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;gatus&lt;/code&gt; 11.4 MB &lt;em&gt;(sandbox verified 2026-12-01)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-gatus-docker-health-dashboard/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Gatus does and what it needs
&lt;/h2&gt;

&lt;p&gt;Gatus is a health dashboard and status page written in Go. You declare endpoints in YAML, attach conditions to each one, and Gatus polls them on an interval. Conditions can check status codes, response time, response body (JSON paths or substring patterns), certificate expiry, and more. When a condition fails past a threshold, it fires alerts to Slack, PagerDuty, Discord, Teams, Telegram, or a custom webhook.&lt;/p&gt;

&lt;p&gt;The key difference from Prometheus-style monitoring: Gatus actively probes your services. It does not wait for traffic to reveal a problem. If your load balancer dies at 3 AM with zero requests in flight, Gatus still notices.&lt;/p&gt;

&lt;p&gt;What it needs on the host:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A single container. No database is required by default; state lives in memory and an optional file-backed store.&lt;/li&gt;
&lt;li&gt;A YAML config file mounted into the container. Default path is &lt;code&gt;config/config.yaml&lt;/code&gt;; override with &lt;code&gt;GATUS_CONFIG_PATH&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Outbound network access to whatever you monitor, plus inbound access on port &lt;code&gt;8080&lt;/code&gt; for the dashboard and API.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The upstream project does not publish a minimum memory figure. As a Go binary with a small in-memory result buffer, idle footprint is modest; memory scales with the number of endpoints, check frequency, and how much result history you retain. Hundreds of endpoints at 60s intervals is a very different load than a dozen at 5m.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker Engine 24+ and the Compose v2 plugin (&lt;code&gt;docker compose version&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;A domain pointed at your VPS if you want HTTPS. Not strictly required for a private dashboard.&lt;/li&gt;
&lt;li&gt;Port &lt;code&gt;8080&lt;/code&gt; is the documented container port. We bind it to &lt;code&gt;127.0.0.1:8080&lt;/code&gt; so only the reverse proxy reaches it.&lt;/li&gt;
&lt;li&gt;One bind mount for configuration: &lt;code&gt;./config&lt;/code&gt; on the host to &lt;code&gt;/config&lt;/code&gt; in the container. Gatus reads &lt;code&gt;GATUS_CONFIG_PATH&lt;/code&gt;; we set it to &lt;code&gt;/config/config.yaml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;One named volume for persistent data: &lt;code&gt;gatus-data&lt;/code&gt; mounted at &lt;code&gt;/data&lt;/code&gt;. This holds the file-backed storage and any TLS material Gatus writes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to test without a domain, either SSH-tunnel (&lt;code&gt;ssh -L 8080:127.0.0.1:8080 user@vps&lt;/code&gt;) or temporarily change the port mapping to &lt;code&gt;8080:8080&lt;/code&gt; and open the firewall. Revert before going public.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full Verified Docker Compose Setup, Reverse Proxy &amp;amp; Troubleshooting
&lt;/h2&gt;

&lt;p&gt;Get the complete sandbox-tested &lt;code&gt;compose.yml&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt; secrets setup, Caddy/Nginx HTTPS config, backup commands, and troubleshooting Q&amp;amp;A on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/self-host-gatus-docker-health-dashboard/" rel="noopener noreferrer"&gt;Read the full verified guide on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;Browse all measured self-hosted RAM benchmarks&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-gatus-docker-health-dashboard/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-gatus-docker-health-dashboard/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gatus</category>
      <category>monitoring</category>
      <category>docker</category>
      <category>statuspage</category>
    </item>
    <item>
      <title>Self-Host Karakeep with Docker: AI Bookmark Manager</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 15:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-karakeep-with-docker-ai-bookmark-manager-3gb6</link>
      <guid>https://dev.to/gongkang/self-host-karakeep-with-docker-ai-bookmark-manager-3gb6</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;1001.4 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;169.2s&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/4gb-vps/" rel="noopener noreferrer"&gt;4 GB+ VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;web&lt;/code&gt; 510.7 MB · &lt;code&gt;chrome&lt;/code&gt; 459.6 MB · &lt;code&gt;meilisearch&lt;/code&gt; 31.1 MB &lt;em&gt;(sandbox verified 2026-11-30)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-karakeep-docker/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Karakeep does and what it needs
&lt;/h2&gt;

&lt;p&gt;Karakeep (formerly Hoarder) is a bookmark-everything app. You throw links, notes, images, and PDFs at it, and it fetches titles, descriptions, and previews, then archives the full page with monolith so the content survives link rot. Meilisearch indexes everything for full-text and semantic search. An optional LLM (OpenAI or a local Ollama) adds automatic tagging and summaries. A bundled headless Chrome handles crawling and screenshots.&lt;/p&gt;

&lt;p&gt;The stack is three containers: the &lt;code&gt;web&lt;/code&gt; app (Next.js), a &lt;code&gt;chrome&lt;/code&gt; sidecar for Puppeteer, and &lt;code&gt;meilisearch&lt;/code&gt; for search. Persistent state lives in two named volumes: &lt;code&gt;data&lt;/code&gt; (bookmarks, archives, uploads) and &lt;code&gt;meilisearch&lt;/code&gt; (search index). The upstream project does not publish a minimum RAM figure. Idle memory is modest, but crawling and archiving pages spawns Chrome tabs, and heavy imports or video archiving with yt-dlp will push memory and disk usage up. Size the VPS around how aggressively you hoard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Linux host with Docker Engine 24+ and the Compose v2 plugin.&lt;/li&gt;
&lt;li&gt;A domain name pointed at the host if you want HTTPS (recommended).&lt;/li&gt;
&lt;li&gt;Port 3000 is the app's HTTP port. In this setup it binds to &lt;code&gt;127.0.0.1:3000&lt;/code&gt; only, so a reverse proxy on the same host can reach it without exposing the app unencrypted on the public IP.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;data&lt;/code&gt; volume holds the SQLite database, archived pages, and uploads. Back it up before upgrades. The &lt;code&gt;meilisearch&lt;/code&gt; volume holds the search index; it can be rebuilt but backing it up saves a reindex.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;DATA_DIR&lt;/code&gt; must stay &lt;code&gt;/data&lt;/code&gt; inside the container. To use a host directory instead of a named volume, change the volume mapping, not &lt;code&gt;DATA_DIR&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want to test without a domain, either temporarily change the port mapping to &lt;code&gt;3000:3000&lt;/code&gt; and open &lt;code&gt;http://&amp;lt;server-ip&amp;gt;:3000&lt;/code&gt;, or keep the localhost binding and tunnel with &lt;code&gt;ssh -L 3000:127.0.0.1:3000 user@server&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full Verified Docker Compose Setup, Reverse Proxy &amp;amp; Troubleshooting
&lt;/h2&gt;

&lt;p&gt;Get the complete sandbox-tested &lt;code&gt;compose.yml&lt;/code&gt;, &lt;code&gt;.env&lt;/code&gt; secrets setup, Caddy/Nginx HTTPS config, backup commands, and troubleshooting Q&amp;amp;A on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/self-host-karakeep-docker/" rel="noopener noreferrer"&gt;Read the full verified guide on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;Browse all measured self-hosted RAM benchmarks&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-karakeep-docker/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-karakeep-docker/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>karakeep</category>
      <category>bookmarks</category>
      <category>docker</category>
      <category>selfhosting</category>
    </item>
    <item>
      <title>NocoDB vs Directus: Measured RAM (838.8 vs 262.3 MB) &amp; Docker Ops</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 09:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/nocodb-vs-directus-measured-ram-8388-vs-2623-mb-docker-ops-57lp</link>
      <guid>https://dev.to/gongkang/nocodb-vs-directus-measured-ram-8388-vs-2623-mb-docker-ops-57lp</guid>
      <description>&lt;h3&gt;
  
  
  Side-by-Side Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;App&lt;/th&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/self-host-nocodb-docker-compose-postgres/" rel="noopener noreferrer"&gt;Nocodb&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;838.8 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;112.8s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/self-host-directus-docker-compose/" rel="noopener noreferrer"&gt;Directus&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;262.3 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;93.8s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Measured RAM Gap:&lt;/strong&gt; &lt;strong&gt;3.2×&lt;/strong&gt; (576.5 MB difference across identical sandbox sampling)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Directus uses 262.3 MB idle versus NocoDB's 838.8 MB — a 3.2× gap and 576.5 MB difference. Pick Directus for lean API-first headless CMS work on a 1 GB VPS; pick NocoDB when you need an Airtable-style spreadsheet UI and can afford a 2 GB VPS.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://vpsfolio.com/compare/nocodb-vs-directus/" rel="noopener noreferrer"&gt;full side-by-side comparison and operational matrix&lt;/a&gt; or browse all verified stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;NocoDB and Directus both put a UI and API on top of PostgreSQL, but their measured idle footprints diverge sharply. In our verified Docker Compose runs, NocoDB idles at &lt;strong&gt;838.8 MB&lt;/strong&gt; while Directus idles at &lt;strong&gt;262.3 MB&lt;/strong&gt; — a &lt;strong&gt;3.2×&lt;/strong&gt; ratio and a &lt;strong&gt;576.5 MB&lt;/strong&gt; difference. That gap decides which VPS tier you need before you write a single collection.&lt;/p&gt;

&lt;p&gt;On a 1 GB VPS, NocoDB's 838.8 MB leaves almost nothing for the OS, reverse proxy, and page cache, so it effectively demands a 2 GB box. Directus at 262.3 MB fits a 1 GB VPS with room to spare, and co-hosting a second small service is realistic. Startup also favors Directus (93.8 s vs 112.8 s), though both are dominated by Postgres initialization.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the RAM gap exists
&lt;/h2&gt;

&lt;p&gt;Both stacks run three containers, but the app container is where the difference lives.&lt;/p&gt;

&lt;p&gt;NocoDB stack (838.8 MB total):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;nocodb&lt;/code&gt; (&lt;code&gt;nocodb/nocodb:latest&lt;/code&gt;): &lt;strong&gt;765.1 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;db&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;): &lt;strong&gt;69.7 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;redis&lt;/code&gt; (&lt;code&gt;redis:7-alpine&lt;/code&gt;): &lt;strong&gt;4.0 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Directus stack (262.3 MB total):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;directus&lt;/code&gt; (&lt;code&gt;directus/directus:11&lt;/code&gt;): &lt;strong&gt;205.6 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;database&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;): &lt;strong&gt;44.7 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cache&lt;/code&gt; (&lt;code&gt;redis:7-alpine&lt;/code&gt;): &lt;strong&gt;12.0 MB&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The NocoDB app container alone (765.1 MB) is nearly three times the entire Directus stack. NocoDB's compose sets &lt;code&gt;NODE_OPTIONS: --max-old-space-size=1024&lt;/code&gt;, and the Node process plus its spreadsheet view engine, attachment handling, and metadata layer settle high even at idle. Directus is a leaner Node service that introspects an existing schema rather than rendering grid/kanban/gallery views server-side, so its baseline stays at 205.6 MB. Postgres and Redis are comparable in both stacks; the gap is almost entirely the application tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day-2 operations: secrets, volumes, and failure modes
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Full Operational Matrix &amp;amp; Deployment Guides
&lt;/h2&gt;

&lt;p&gt;Read the complete side-by-side operational checklist, Day-2 backup trade-offs, VPS co-hosting math, and verified Docker Compose guides on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/compare/nocodb-vs-directus/" rel="noopener noreferrer"&gt;Read the full comparison on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/compare/nocodb-vs-directus/" rel="noopener noreferrer"&gt;https://vpsfolio.com/compare/nocodb-vs-directus/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nocodb</category>
      <category>directus</category>
      <category>comparison</category>
      <category>docker</category>
    </item>
    <item>
      <title>Self-Host Tandoor Recipes with Docker Compose</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 06:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-tandoor-recipes-with-docker-compose-5h9j</link>
      <guid>https://dev.to/gongkang/self-host-tandoor-recipes-with-docker-compose-5h9j</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;885.6 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;104.9s&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;web_recipes&lt;/code&gt; 845.4 MB · &lt;code&gt;db_recipes&lt;/code&gt; 40.2 MB &lt;em&gt;(sandbox verified 2026-11-30)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/tandoor-recipes-docker-compose/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Tandoor Recipes does and what it needs
&lt;/h2&gt;

&lt;p&gt;Tandoor Recipes is a Django app for managing a recipe collection, planning meals, and generating shopping lists. It imports recipes from sites that expose schema.org JSON-LD or microdata, supports full-text search with PostgreSQL trigram similarity, and lets you share cookbooks with family or friends. It is not designed as a public site; the built-in permission system is basic.&lt;/p&gt;

&lt;p&gt;The stack is two containers: the &lt;code&gt;ghcr.io/tandoorrecipes/recipes&lt;/code&gt; web app and a PostgreSQL database. The app stores uploaded recipe images and static files in a media volume, so you need persistent storage for both the database and media. The upstream project does not publish a minimum RAM figure. Idle memory is modest, but recipe imports, image processing, and search queries scale with collection size and concurrent users.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A Linux VPS with Docker Engine 24+ and the Compose plugin.&lt;/li&gt;
&lt;li&gt;A domain name pointed at the server if you want HTTPS. For local testing you can use &lt;code&gt;localhost&lt;/code&gt; and an SSH tunnel.&lt;/li&gt;
&lt;li&gt;The container runs an internal Nginx reverse proxy on port &lt;code&gt;80&lt;/code&gt; (proxying to Gunicorn over &lt;code&gt;/tmp/tandoor.sock&lt;/code&gt;). We publish it on &lt;code&gt;127.0.0.1:8000&lt;/code&gt; so only your host reverse proxy can reach it.&lt;/li&gt;
&lt;li&gt;Three named volumes: &lt;code&gt;recipes_static&lt;/code&gt; for collected static assets, &lt;code&gt;recipes_media&lt;/code&gt; for uploaded images, and &lt;code&gt;recipes_db&lt;/code&gt; for PostgreSQL data. Named volumes avoid permission mismatches on both the database and media directories.&lt;/li&gt;
&lt;li&gt;Generate a Django &lt;code&gt;SECRET_KEY&lt;/code&gt; and a database password. Never commit them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Production Docker Compose setup
&lt;/h2&gt;

&lt;p&gt;Create a project directory and write the Compose file. The app reads &lt;code&gt;SECRET_KEY&lt;/code&gt;, &lt;code&gt;TZ&lt;/code&gt;, &lt;code&gt;ALLOWED_HOSTS&lt;/code&gt;, and the &lt;code&gt;POSTGRES_*&lt;/code&gt; variables from the environment. &lt;code&gt;DB_ENGINE&lt;/code&gt; defaults to PostgreSQL in the image, but set it explicitly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/tandoor &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; ~/tandoor
cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; compose.yml
services:
  db_recipes:
    image: postgres:16-alpine
    restart: unless-stopped
    volumes:
      - recipes_db:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: &lt;span class="nv"&gt;${POSTGRES_DB:-djangodb}&lt;/span&gt;
      POSTGRES_USER: &lt;span class="nv"&gt;${POSTGRES_USER:-djangouser}&lt;/span&gt;
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${POSTGRES_PASSWORD}&lt;/span&gt;
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD-SHELL"&lt;/span&gt;, &lt;span class="s2"&gt;"pg_isready -U $${POSTGRES_USER:-djangouser} -d $${POSTGRES_DB:-djangodb}"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 5

  web_recipes:
    image: ghcr.io/tandoorrecipes/recipes:latest
    restart: unless-stopped
    depends_on:
      db_recipes:
        condition: service_healthy
    ports:
      - &lt;span class="s2"&gt;"127.0.0.1:8000:80"&lt;/span&gt;
    volumes:
      - recipes_static:/opt/recipes/staticfiles
      - recipes_media:/opt/recipes/mediafiles
    environment:
      SECRET_KEY: &lt;span class="nv"&gt;${SECRET_KEY}&lt;/span&gt;
      TZ: &lt;span class="nv"&gt;${TZ:-UTC}&lt;/span&gt;
      ALLOWED_HOSTS: &lt;span class="nv"&gt;${ALLOWED_HOSTS:-*}&lt;/span&gt;
      DB_ENGINE: django.db.backends.postgresql
      POSTGRES_HOST: db_recipes
      POSTGRES_PORT: 5432
      POSTGRES_DB: &lt;span class="nv"&gt;${POSTGRES_DB:-djangodb}&lt;/span&gt;
      POSTGRES_USER: &lt;span class="nv"&gt;${POSTGRES_USER:-djangouser}&lt;/span&gt;
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${POSTGRES_PASSWORD}&lt;/span&gt;
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD-SHELL"&lt;/span&gt;, &lt;span class="s2"&gt;"test -S /tmp/tandoor.sock &amp;amp;&amp;amp; wget -q -O /dev/null http://127.0.0.1:80/"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 30
      start_period: 30s

volumes:
  recipes_static:
  recipes_media:
  recipes_db:
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now create the &lt;code&gt;.env&lt;/code&gt; file with generated secrets. Use &lt;code&gt;openssl rand -hex 32&lt;/code&gt; for both values. Set &lt;code&gt;ALLOWED_HOSTS&lt;/code&gt; to your domain; for local testing use &lt;code&gt;localhost&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;EOF &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .env
&lt;span class="nv"&gt;SECRET_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;openssl rand -hex 32&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;POSTGRES_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;openssl rand -hex 32&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;TZ&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTC
&lt;span class="nv"&gt;ALLOWED_HOSTS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;recipes.example.com
&lt;span class="nv"&gt;POSTGRES_DB&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;djangodb
&lt;span class="nv"&gt;POSTGRES_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;djangouser
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start the stack and check logs. On first boot, Tandoor starts its embedded Nginx immediately while running Django database migrations and &lt;code&gt;collectstatic&lt;/code&gt;, so port 8000 returns HTTP &lt;code&gt;502&lt;/code&gt; until Gunicorn binds &lt;code&gt;/tmp/tandoor.sock&lt;/code&gt; (typically 60–90 seconds). The healthcheck marks &lt;code&gt;web_recipes&lt;/code&gt; healthy once Gunicorn is serving requests.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d
docker compose logs -f web_recipes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the app is healthy, create the first admin user. The image includes Django management commands; run &lt;code&gt;createsuperuser&lt;/code&gt; inside the web container.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; web_recipes python manage.py createsuperuser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Reverse proxy, HTTPS, and first-run hardening
&lt;/h2&gt;

&lt;p&gt;Tandoor is a Django app that expects &lt;code&gt;X-Forwarded-Proto&lt;/code&gt; and &lt;code&gt;X-Forwarded-For&lt;/code&gt; headers when behind a proxy. It also uses WebSockets for some real-time features, so the proxy must upgrade connections. Uploaded recipe images can be large; set a client body limit of at least 20 MB.&lt;/p&gt;

&lt;p&gt;Example Caddyfile on the host (Caddy runs outside this Compose stack):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;recipes.example.com {
    encode gzip
    request_body {
        max_size 20MB
    }
    reverse_proxy 127.0.0.1:8000 {
        header_up X-Forwarded-Proto {scheme}
        header_up X-Forwarded-For {remote_host}
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Nginx, add &lt;code&gt;proxy_set_header Upgrade $http_upgrade;&lt;/code&gt; and &lt;code&gt;proxy_set_header Connection "upgrade";&lt;/code&gt; in the location block, plus &lt;code&gt;client_max_body_size 20M;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;After the first login, go to the Django admin and disable open signup if you do not want strangers creating accounts. Tandoor is not a public site; keep registration closed and invite users manually. Also set &lt;code&gt;ALLOWED_HOSTS&lt;/code&gt; to the exact domain; Django rejects requests with mismatched Host headers.&lt;/p&gt;

&lt;p&gt;If you are testing without a domain, keep the port bound to &lt;code&gt;127.0.0.1&lt;/code&gt; and use an SSH tunnel: &lt;code&gt;ssh -L 8000:127.0.0.1:8000 user@server&lt;/code&gt;. Then open &lt;code&gt;http://localhost:8000&lt;/code&gt;. Do not expose port 8000 publicly without TLS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Updating, backups, and common pitfalls
&lt;/h2&gt;

&lt;p&gt;Update the app and database images with Compose. The app runs migrations on startup, so take a backup first.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~/tandoor
docker compose pull
docker compose up -d
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Back up the database and media volume. Use &lt;code&gt;pg_dump&lt;/code&gt; inside the database container and archive the media volume with a temporary container.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; -T db_recipes pg_dump -U djangouser djangodb &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; backup-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.sql
docker run --rm -v tandoor_recipes_media:/media -v &lt;span class="s2"&gt;"$PWD"&lt;/span&gt;:/backup alpine tar czf /backup/media-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.tar.gz -C /media .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two operational pitfalls from the docs and common issues:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;ALLOWED_HOSTS mismatch.&lt;/strong&gt; If you see &lt;code&gt;DisallowedHost&lt;/code&gt; errors, the domain in &lt;code&gt;ALLOWED_HOSTS&lt;/code&gt; does not match the Host header. Set it to the exact domain, comma-separated for multiple hosts, and restart the web container.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Media volume permissions.&lt;/strong&gt; If recipe images fail to upload, check that the &lt;code&gt;recipes_media&lt;/code&gt; volume is writable by the container user. Avoid bind mounts for media on systems with SELinux or restrictive umask; named volumes handle ownership more predictably.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Database migrations run automatically on container start. If an update fails mid-migration, restore the SQL dump and the media archive before retrying.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measured in our sandbox run:&lt;/strong&gt; total memory 885.6 MB (sum of per-container peaks over a 30s idle window after startup) across 2 containers; largest container 845.4 MB; published port(s) 8000; HTTP probe returned 302. The run took 104.9s with the image already cached; a fresh server also has to download it. Required secret(s) POSTGRES_PASSWORD, SECRET_KEY were generated for the test run, as the tutorial instructs. Container breakdown: web_recipes 845.4 MB, db_recipes 40.2 MB.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Verification: we ran this docker-compose stack in a disposable Docker environment and recorded the measurements above. They describe that run, not a guarantee for your host.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/tandoor-recipes-docker-compose/" rel="noopener noreferrer"&gt;https://vpsfolio.com/tandoor-recipes-docker-compose/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>tandoor</category>
      <category>recipes</category>
      <category>docker</category>
      <category>selfhosting</category>
    </item>
    <item>
      <title>Self-Host Vikunja with Docker Compose: A Production Guide</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 05:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-vikunja-with-docker-compose-a-production-guide-3jb5</link>
      <guid>https://dev.to/gongkang/self-host-vikunja-with-docker-compose-a-production-guide-3jb5</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;76.5 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;48.2s&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;vikunja&lt;/code&gt; 50.3 MB · &lt;code&gt;db&lt;/code&gt; 26.2 MB &lt;em&gt;(sandbox verified 2026-11-30)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-vikunja-docker-compose/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Vikunja does and what it needs
&lt;/h2&gt;

&lt;p&gt;Vikunja is an open-source task and to-do manager you host yourself. It ships as a single binary that bundles both the API and the web frontend, so one container serves the whole app. You get projects, kanban boards, lists, reminders, labels, and a REST API that the desktop and mobile clients use.&lt;/p&gt;

&lt;p&gt;Under the hood it needs a database. SQLite is bundled and works for a single user or a small team, but for anything production-grade you want PostgreSQL, MySQL, or MariaDB. The docs recommend a currently maintained database release; the CI tests MySQL 8, MariaDB 12, PostgreSQL 18, and the bundled SQLite. MySQL 5.7 is explicitly unsupported because Vikunja relies on recursive CTEs and window functions.&lt;/p&gt;

&lt;p&gt;The project does not publish a minimum RAM figure. Practical memory use scales with the number of active users, the size of your task database, and background jobs like reminders. An idle instance for a handful of users is light; a team with thousands of tasks and frequent API polling will need more headroom. Size the VPS based on your workload rather than a fixed number.&lt;/p&gt;

&lt;p&gt;Vikunja refuses to start without a public URL because CORS is enabled by default. You either set &lt;code&gt;VIKUNJA_SERVICE_PUBLICURL&lt;/code&gt; to the URL users will open, or disable CORS with &lt;code&gt;VIKUNJA_CORS_ENABLE=false&lt;/code&gt;. In production you always set the public URL.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;p&gt;You need Docker Engine and the Compose plugin on a Linux host. The container listens on port &lt;code&gt;3456&lt;/code&gt; by default. That is the only port you expose; the database stays on the internal Compose network.&lt;/p&gt;

&lt;p&gt;The container runs as UID &lt;code&gt;1000&lt;/code&gt; with no group. Because Docker initializes fresh named volumes as &lt;code&gt;root:root&lt;/code&gt;, this stack includes a one-shot &lt;code&gt;vikunja_init&lt;/code&gt; container (&lt;code&gt;busybox:1.36&lt;/code&gt;) that runs &lt;code&gt;chown -R 1000:1000 /app/vikunja/files /db&lt;/code&gt; before &lt;code&gt;vikunja&lt;/code&gt; starts. Named volumes are easier to back up than bind mounts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;vikunja_files&lt;/code&gt; mounted at &lt;code&gt;/app/vikunja/files&lt;/code&gt; for uploaded attachments and avatars.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;vikunja_db&lt;/code&gt; mounted at &lt;code&gt;/db&lt;/code&gt; for the SQLite database. If you use PostgreSQL, this volume is unused by Vikunja but still declared for the SQLite fallback path.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;vikunja_pgdata&lt;/code&gt; mounted at &lt;code&gt;/var/lib/postgresql/data&lt;/code&gt; for PostgreSQL.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you switch to bind mounts later, run &lt;code&gt;chown 1000&lt;/code&gt; on the host directories before starting the container.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production Docker Compose setup
&lt;/h2&gt;

&lt;p&gt;Create a project directory and generate secrets first. Do not reuse example passwords.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/vikunja &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; ~/vikunja
openssl rand -hex 32   &lt;span class="c"&gt;# use for POSTGRES_PASSWORD&lt;/span&gt;
openssl rand -hex 32   &lt;span class="c"&gt;# use for VIKUNJA_SERVICE_SECRET&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Write the environment file. Replace the placeholder values with the generated secrets and your real domain.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .env
&lt;span class="nv"&gt;TZ&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTC
&lt;span class="nv"&gt;DOMAIN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://tasks.example.com
&lt;span class="nv"&gt;POSTGRES_DB&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;vikunja
&lt;span class="nv"&gt;POSTGRES_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;vikunja
&lt;span class="nv"&gt;POSTGRES_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;replace-with-openssl-output
&lt;span class="nv"&gt;VIKUNJA_SERVICE_SECRET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;replace-with-openssl-output
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the Compose file. The web port binds to &lt;code&gt;127.0.0.1:3456&lt;/code&gt; so the app is not exposed unencrypted on the public IP. A reverse proxy on the same host terminates TLS and forwards to that loopback address.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; compose.yml
services:
  vikunja_init:
    image: busybox:1.36
    command: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"sh"&lt;/span&gt;, &lt;span class="s2"&gt;"-c"&lt;/span&gt;, &lt;span class="s2"&gt;"chown -R 1000:1000 /app/vikunja/files /db"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
    volumes:
      - vikunja_files:/app/vikunja/files
      - vikunja_db:/db

  vikunja:
    image: vikunja/vikunja:latest
    restart: unless-stopped
    depends_on:
      vikunja_init:
        condition: service_completed_successfully
      db:
        condition: service_healthy
    environment:
      TZ: &lt;span class="nv"&gt;${TZ:-UTC}&lt;/span&gt;
      VIKUNJA_SERVICE_PUBLICURL: &lt;span class="nv"&gt;${DOMAIN:-http://127.0.0.1:3456}&lt;/span&gt;
      VIKUNJA_DATABASE_TYPE: postgres
      VIKUNJA_DATABASE_HOST: db
      VIKUNJA_DATABASE_DATABASE: &lt;span class="nv"&gt;${POSTGRES_DB:-vikunja}&lt;/span&gt;
      VIKUNJA_DATABASE_USER: &lt;span class="nv"&gt;${POSTGRES_USER:-vikunja}&lt;/span&gt;
      VIKUNJA_DATABASE_PASSWORD: &lt;span class="nv"&gt;${POSTGRES_PASSWORD}&lt;/span&gt;
      VIKUNJA_SERVICE_SECRET: &lt;span class="nv"&gt;${VIKUNJA_SERVICE_SECRET}&lt;/span&gt;
    ports:
      - &lt;span class="s2"&gt;"127.0.0.1:3456:3456"&lt;/span&gt;
    volumes:
      - vikunja_files:/app/vikunja/files
      - vikunja_db:/db

  db:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      TZ: &lt;span class="nv"&gt;${TZ:-UTC}&lt;/span&gt;
      POSTGRES_DB: &lt;span class="nv"&gt;${POSTGRES_DB:-vikunja}&lt;/span&gt;
      POSTGRES_USER: &lt;span class="nv"&gt;${POSTGRES_USER:-vikunja}&lt;/span&gt;
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${POSTGRES_PASSWORD}&lt;/span&gt;
    volumes:
      - vikunja_pgdata:/var/lib/postgresql/data
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD-SHELL"&lt;/span&gt;, &lt;span class="s2"&gt;"pg_isready -U $${POSTGRES_USER:-vikunja} -d $${POSTGRES_DB:-vikunja}"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  vikunja_files:
  vikunja_db:
  vikunja_pgdata:
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start the stack and check logs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d
docker compose logs -f vikunja
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the container reports it is listening, open &lt;code&gt;http://127.0.0.1:3456&lt;/code&gt; through an SSH tunnel to confirm the app boots before you wire up the proxy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh -L 3456:127.0.0.1:3456 user@your-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then visit &lt;code&gt;http://localhost:3456&lt;/code&gt; locally. The first account you register becomes the admin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reverse proxy, HTTPS, and first-run hardening
&lt;/h2&gt;

&lt;p&gt;Vikunja needs a reverse proxy that forwards the original host and protocol headers. The app uses &lt;code&gt;VIKUNJA_SERVICE_PUBLICURL&lt;/code&gt; to build links and enforce CORS, so the proxy must not rewrite the Host header to something else.&lt;/p&gt;

&lt;p&gt;Here is a Caddyfile. Caddy handles TLS automatically. The &lt;code&gt;X-Forwarded-Proto&lt;/code&gt; and &lt;code&gt;X-Forwarded-Host&lt;/code&gt; headers are set by Caddy by default, but we make them explicit. Vikunja does not require WebSocket-specific configuration for the core app, but the API supports long-polling and the frontend uses standard HTTP; no special upgrade headers are needed beyond what Caddy already passes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tasks.example.com {
    encode zstd gzip
    reverse_proxy 127.0.0.1:3456 {
        header_up X-Forwarded-Proto {scheme}
        header_up X-Forwarded-Host {host}
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you use Nginx instead, set &lt;code&gt;client_max_body_size&lt;/code&gt; to something reasonable for attachments, for example &lt;code&gt;50m&lt;/code&gt;, and pass &lt;code&gt;X-Forwarded-Proto $scheme&lt;/code&gt; and &lt;code&gt;Host $host&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;First-run hardening:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Register the admin account immediately after the stack is up. The first user gets admin rights.&lt;/li&gt;
&lt;li&gt;If you do not want open registration, disable it after creating your account. The setting is &lt;code&gt;VIKUNJA_SERVICE_ENABLEREGISTRATION=false&lt;/code&gt; in the environment. Add it to the Compose file and restart.&lt;/li&gt;
&lt;li&gt;Keep &lt;code&gt;VIKUNJA_SERVICE_SECRET&lt;/code&gt; secret. Rotating it invalidates all sessions.&lt;/li&gt;
&lt;li&gt;Do not expose port &lt;code&gt;3456&lt;/code&gt; publicly. The loopback binding in Compose prevents that by default.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Updating, backups, and common pitfalls
&lt;/h2&gt;

&lt;p&gt;Update by pulling the new image and recreating the container. Vikunja runs database migrations automatically on startup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~/vikunja
docker compose pull
docker compose up -d
docker compose logs -f vikunja
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Back up the database and files. With PostgreSQL, dump the database and archive the files volume.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; -T db pg_dump -U vikunja vikunja &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; backup-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.sql
docker run --rm -v vikunja_vikunja_files:/data -v &lt;span class="nv"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;:/backup alpine tar czf /backup/files-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.tar.gz -C /data .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you use SQLite instead of PostgreSQL, back up the &lt;code&gt;vikunja_db&lt;/code&gt; volume the same way with &lt;code&gt;tar&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two pitfalls from the docs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CORS and public URL.&lt;/strong&gt; Vikunja will not start without &lt;code&gt;VIKUNJA_SERVICE_PUBLICURL&lt;/code&gt; unless you disable CORS. If you see startup errors about CORS, check that the variable matches the exact URL users open, including the scheme.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database encoding.&lt;/strong&gt; If you use MySQL or MariaDB and plan to store non-Latin characters, the database must be UTF-8 compatible. PostgreSQL handles this by default. For accent-insensitive search on PostgreSQL, enable the &lt;code&gt;unaccent&lt;/code&gt; extension: &lt;code&gt;CREATE EXTENSION IF NOT EXISTS unaccent;&lt;/code&gt; and restart Vikunja. The logs will confirm detection.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;File permissions are the other common trip-up. The container runs as UID 1000. If you switch from named volumes to bind mounts, &lt;code&gt;chown 1000&lt;/code&gt; the host directories or Vikunja cannot write uploads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measured in our sandbox run:&lt;/strong&gt; total memory 76.5 MB (sum of per-container peaks over a 30s idle window after startup) across 3 containers; largest container 50.3 MB; published port(s) 3456; HTTP probe returned 200. The run took 48.2s with the image already cached; a fresh server also has to download it. Required secret(s) POSTGRES_PASSWORD, VIKUNJA_SERVICE_SECRET were generated for the test run, as the tutorial instructs. Container breakdown: vikunja 50.3 MB, db 26.2 MB. Verified one-shot jobs: vikunja_init (exit 0).&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Verification: we ran this docker-compose stack in a disposable Docker environment and recorded the measurements above. They describe that run, not a guarantee for your host.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-vikunja-docker-compose/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-vikunja-docker-compose/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>vikunja</category>
      <category>docker</category>
      <category>selfhosting</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Run wallabag in Docker: Self-Hosted Read-It-Later Setup</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 04:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/run-wallabag-in-docker-self-hosted-read-it-later-setup-44oa</link>
      <guid>https://dev.to/gongkang/run-wallabag-in-docker-self-hosted-read-it-later-setup-44oa</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;95.5 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;149.5s&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;wallabag&lt;/code&gt; 64.0 MB · &lt;code&gt;db&lt;/code&gt; 23.3 MB · &lt;code&gt;redis&lt;/code&gt; 8.2 MB &lt;em&gt;(sandbox verified 2026-11-30)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/wallabag-docker-self-hosting/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What wallabag does and what it needs
&lt;/h2&gt;

&lt;p&gt;wallabag is a self-hosted read-it-later service. You save a URL, it extracts the article content, strips ads and pop-ups, and stores a clean copy you can read later from the web UI, mobile apps, or browser extensions. Everything stays on your server.&lt;/p&gt;

&lt;p&gt;Under the hood it's a PHP application (Symfony) backed by a database and Redis for caching and sessions. The upstream project does not publish a minimum memory figure. Idle memory is modest, but content extraction and full-text search on large archives will scale with CPU and RAM. Plan for at least 1 GB to be comfortable, and more if you save hundreds of articles per day.&lt;/p&gt;

&lt;p&gt;The official &lt;code&gt;compose.yaml&lt;/code&gt; in the repository is a development setup: it bind-mounts the source tree, builds a custom PHP image, and expects &lt;code&gt;docker/php/env&lt;/code&gt; to exist. For production you want a prebuilt image, a persistent database, and no source bind mounts. This guide builds that stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Docker Engine 24+ and Docker Compose v2.&lt;/li&gt;
&lt;li&gt;A domain name pointing to your server (for HTTPS).&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;wallabag/wallabag&lt;/code&gt; image listens on port &lt;code&gt;80&lt;/code&gt; internally. We map it to &lt;code&gt;127.0.0.1:8000&lt;/code&gt; so only the reverse proxy can reach it.&lt;/li&gt;
&lt;li&gt;Three named volumes are required:

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;wallabag_data&lt;/code&gt; → &lt;code&gt;/var/www/wallabag/data&lt;/code&gt; (application data and SQLite DB if used).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;wallabag_images&lt;/code&gt; → &lt;code&gt;/var/www/wallabag/web/assets/images&lt;/code&gt; (downloaded article images).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A database volume (&lt;code&gt;wallabag_db&lt;/code&gt;) for PostgreSQL. The official compose comments out Postgres and defaults to SQLite; for production we enable Postgres explicitly.&lt;/li&gt;
&lt;li&gt;Redis is used for sessions and caching. The official compose includes it; we keep it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not mount &lt;code&gt;/var/run/docker.sock&lt;/code&gt; or host paths into the container. All state lives in named volumes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production Docker Compose setup
&lt;/h2&gt;

&lt;p&gt;Create a directory and drop in the compose file and &lt;code&gt;.env&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/wallabag &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; ~/wallabag
cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; compose.yml
services:
  wallabag:
    image: wallabag/wallabag:latest
    restart: unless-stopped
    environment:
      SYMFONY__ENV__DATABASE_DRIVER: pdo_pgsql
      SYMFONY__ENV__DATABASE_HOST: db
      SYMFONY__ENV__DATABASE_PORT: 5432
      SYMFONY__ENV__DATABASE_NAME: wallabag
      SYMFONY__ENV__DATABASE_USER: wallabag
      SYMFONY__ENV__DATABASE_PASSWORD: &lt;span class="nv"&gt;${DB_PASSWORD}&lt;/span&gt;
      POSTGRES_USER: wallabag
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${DB_PASSWORD}&lt;/span&gt;
      SYMFONY__ENV__REDIS_HOST: redis
      SYMFONY__ENV__REDIS_PORT: 6379
      SYMFONY__ENV__DOMAIN_NAME: &lt;span class="nv"&gt;${WALLABAG_BASE_URL:-http://127.0.0.1:8000}&lt;/span&gt;
      SYMFONY__ENV__SECRET: &lt;span class="nv"&gt;${APP_SECRET}&lt;/span&gt;
      POPULATE_DATABASE: &lt;span class="s2"&gt;"True"&lt;/span&gt;
      TZ: &lt;span class="nv"&gt;${TZ:-UTC}&lt;/span&gt;
    volumes:
      - wallabag_data:/var/www/wallabag/data
      - wallabag_images:/var/www/wallabag/web/assets/images
    ports:
      - &lt;span class="s2"&gt;"127.0.0.1:8000:80"&lt;/span&gt;
    depends_on:
      db:
        condition: service_healthy
      redis:
        condition: service_healthy

  db:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: wallabag
      POSTGRES_USER: wallabag
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${DB_PASSWORD}&lt;/span&gt;
    volumes:
      - wallabag_db:/var/lib/postgresql/data
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD-SHELL"&lt;/span&gt;, &lt;span class="s2"&gt;"pg_isready -U wallabag -d wallabag"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 5

  redis:
    image: redis:7-alpine
    restart: unless-stopped
    volumes:
      - wallabag_redis:/data
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD"&lt;/span&gt;, &lt;span class="s2"&gt;"redis-cli"&lt;/span&gt;, &lt;span class="s2"&gt;"ping"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 3s
      retries: 3

volumes:
  wallabag_data:
  wallabag_images:
  wallabag_db:
  wallabag_redis:
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generate secrets and write &lt;code&gt;.env&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;EOF &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .env
&lt;span class="nv"&gt;DB_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;openssl rand -hex 32&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;APP_SECRET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;$(&lt;/span&gt;openssl rand -hex 32&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="nv"&gt;WALLABAG_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://read.example.com
&lt;span class="nv"&gt;TZ&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTC
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start the stack:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Wait for the database healthcheck, then open &lt;code&gt;http://127.0.0.1:8000&lt;/code&gt; via SSH tunnel to confirm it's up:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh -L 8000:127.0.0.1:8000 user@your-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then visit &lt;code&gt;http://localhost:8000&lt;/code&gt; in your browser. The first account you create becomes the admin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reverse proxy, HTTPS, and first-run hardening
&lt;/h2&gt;

&lt;p&gt;wallabag needs a reverse proxy that forwards the real scheme and host. Use Caddy or Nginx on the host (not in this compose file) to terminate TLS on 443 and proxy to &lt;code&gt;127.0.0.1:8000&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Caddy example (&lt;code&gt;/etc/caddy/Caddyfile&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;reverse_proxy&lt;/span&gt; &lt;span class="mf"&gt;127.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;8000&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;header_up&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Proto&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;scheme&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="n"&gt;header_up&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;For&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;remote_host&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="n"&gt;header_up&lt;/span&gt; &lt;span class="nc"&gt;Host&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;encode&lt;/span&gt; &lt;span class="n"&gt;gzip&lt;/span&gt;
    &lt;span class="n"&gt;request_body&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;max_size&lt;/span&gt; &lt;span class="mi"&gt;50MB&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Nginx example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;listen&lt;/span&gt; &lt;span class="mi"&gt;443&lt;/span&gt; &lt;span class="n"&gt;ssl&lt;/span&gt; &lt;span class="n"&gt;http2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;server_name&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;client_max_body_size&lt;/span&gt; &lt;span class="mi"&gt;50M&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="n"&gt;location&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;proxy_pass&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//127.0.0.1:8000;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="nc"&gt;Host&lt;/span&gt; $&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Real&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="no"&gt;IP&lt;/span&gt; $&lt;span class="n"&gt;remote_addr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;For&lt;/span&gt; $&lt;span class="n"&gt;proxy_add_x_forwarded_for&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;proxy_set_header&lt;/span&gt; &lt;span class="no"&gt;X&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Forwarded&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Proto&lt;/span&gt; $&lt;span class="n"&gt;scheme&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Set &lt;code&gt;WALLABAG_BASE_URL&lt;/code&gt; to your public HTTPS URL. This value is used for generated links and cookies; if it's wrong, logins and password resets break.&lt;/p&gt;

&lt;p&gt;First-run hardening:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create the admin account immediately after the stack is up. wallabag does not ship a default password, but an open registration page is still a risk.&lt;/li&gt;
&lt;li&gt;In the admin settings, disable public registration (&lt;code&gt;Settings → Users → Allow users to register&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Enable two-factor authentication for the admin account if you plan to expose it publicly.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;SYMFONY__ENV__SECRET&lt;/code&gt; (we use &lt;code&gt;APP_SECRET&lt;/code&gt;) to a long random value. Changing it later invalidates sessions.&lt;/li&gt;
&lt;li&gt;Keep the container port bound to &lt;code&gt;127.0.0.1&lt;/code&gt;. If you need to test without a domain, use an SSH tunnel as shown above; do not expose port 8000 on the public interface.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Updating, backups, and common pitfalls
&lt;/h2&gt;

&lt;p&gt;Update wallabag and its dependencies:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~/wallabag
docker compose pull
docker compose up -d
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Back up the database and data volume:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; db pg_dump -U wallabag wallabag &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; wallabag-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.sql
docker run --rm -v wallabag_wallabag_data:/data -v &lt;span class="nv"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;pwd&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;:/backup alpine tar czf /backup/wallabag-data-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.tar.gz -C /data .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Restore by reversing the commands: &lt;code&gt;psql&lt;/code&gt; the dump into a fresh database and untar the data volume.&lt;/p&gt;

&lt;p&gt;Common pitfalls:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Wrong &lt;code&gt;WALLABAG_BASE_URL&lt;/code&gt;&lt;/strong&gt;: If you change domains, update &lt;code&gt;.env&lt;/code&gt; and restart. Cookies and generated URLs will otherwise point to the old host.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing PHP extensions&lt;/strong&gt;: The official image includes them, but if you build your own, ensure &lt;code&gt;pdo_pgsql&lt;/code&gt;, &lt;code&gt;gd&lt;/code&gt;, &lt;code&gt;intl&lt;/code&gt;, &lt;code&gt;tidy&lt;/code&gt;, and &lt;code&gt;bcmath&lt;/code&gt; are present. The requirements page lists the full set.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database migrations on upgrade&lt;/strong&gt;: wallabag runs migrations on container start. If you see errors, check &lt;code&gt;docker compose logs wallabag&lt;/code&gt; and ensure the database user has schema privileges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redis persistence&lt;/strong&gt;: We mount &lt;code&gt;wallabag_redis&lt;/code&gt; so sessions survive restarts. If you skip it, users get logged out on every restart.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Measured in our sandbox run:&lt;/strong&gt; total memory 95.5 MB (sum of per-container peaks over a 30s idle window after startup) across 3 containers; largest container 64.0 MB; published port(s) 8000; HTTP probe returned 302. The run took 149.5s including the image download. Required secret(s) APP_SECRET, DB_PASSWORD were generated for the test run, as the tutorial instructs. Container breakdown: wallabag 64.0 MB, db 23.3 MB, redis 8.2 MB.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Verification: we ran this docker-compose stack in a disposable Docker environment and recorded the measurements above. They describe that run, not a guarantee for your host.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/wallabag-docker-self-hosting/" rel="noopener noreferrer"&gt;https://vpsfolio.com/wallabag-docker-self-hosting/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wallabag</category>
      <category>docker</category>
      <category>selfhosting</category>
      <category>readitlater</category>
    </item>
    <item>
      <title>Mealie vs Tandoor Recipes: Measured RAM (285 vs 886 MB) &amp; Docker Ops</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 01:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/mealie-vs-tandoor-recipes-measured-ram-285-vs-886-mb-docker-ops-1jcg</link>
      <guid>https://dev.to/gongkang/mealie-vs-tandoor-recipes-measured-ram-285-vs-886-mb-docker-ops-1jcg</guid>
      <description>&lt;h3&gt;
  
  
  Side-by-Side Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;App&lt;/th&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/mealie-docker-self-hosted-recipe-manager/" rel="noopener noreferrer"&gt;Mealie&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;284.6 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;126.6s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/tandoor-recipes-docker-compose/" rel="noopener noreferrer"&gt;Tandoor Recipes&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;885.6 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;104.9s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Measured RAM Gap:&lt;/strong&gt; &lt;strong&gt;3.1×&lt;/strong&gt; (601.0 MB difference across identical sandbox sampling)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Both stacks run 2 containers with PostgreSQL 16, yet default Tandoor Recipes idled at 3.1x the RAM of Mealie (885.6 MB vs 284.6 MB) because Tandoor spawns 3 Gunicorn workers behind embedded Nginx. Pick Mealie for 1 GB VPS hosting, simpler setup, and a modern REST API; pick Tandoor for deeper meal-planning and household inventory workflows on a 2 GB+ VPS (or tune GUNICORN_WORKERS down).&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://vpsfolio.com/compare/mealie-vs-tandoor-recipes/" rel="noopener noreferrer"&gt;full side-by-side comparison and operational matrix&lt;/a&gt; or browse all verified stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;Mealie and Tandoor Recipes are the two flagship self-hosted recipe managers, meal planners, and shopping-list apps. Both are Python web applications, both import recipes from JSON-LD URLs, and both deploy cleanly as two-container Docker Compose stacks backed by &lt;code&gt;postgres:16-alpine&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In our verified Docker Compose runs at default upstream settings, the memory gap was far wider than most guides warn: &lt;strong&gt;Mealie idled at 284.6 MB while Tandoor Recipes idled at 885.6 MB&lt;/strong&gt; — a &lt;strong&gt;3.1×&lt;/strong&gt; difference (&lt;strong&gt;601.0 MB&lt;/strong&gt; saved) with the exact same two-container topology. That gap determines whether a recipe manager can share a &lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt; or demands a &lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why two Python + PostgreSQL stacks differ by 601.0 MB
&lt;/h2&gt;

&lt;p&gt;Per-container &lt;code&gt;docker stats&lt;/code&gt; sampling shows PostgreSQL uses nearly identical memory in both runs (&lt;code&gt;36.5 MB&lt;/code&gt; vs &lt;code&gt;40.2 MB&lt;/code&gt;). Virtually the entire &lt;strong&gt;601.0 MB&lt;/strong&gt; delta sits inside the web container:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mealie (284.6 MB total, 2 containers)&lt;/strong&gt; splits into &lt;code&gt;mealie&lt;/code&gt; (&lt;code&gt;ghcr.io/mealie-recipes/mealie:latest&lt;/code&gt;, Python FastAPI + Vue SPA) at &lt;strong&gt;248.1 MB&lt;/strong&gt; (87.2%) and &lt;code&gt;postgres&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;) at &lt;strong&gt;36.5 MB&lt;/strong&gt; (12.8%). Startup took &lt;code&gt;126.6 s&lt;/code&gt; including image pulls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tandoor Recipes (885.6 MB total, 2 containers)&lt;/strong&gt; splits into &lt;code&gt;web_recipes&lt;/code&gt; (&lt;code&gt;ghcr.io/tandoorrecipes/recipes:latest&lt;/code&gt;, Django + Gunicorn + embedded Nginx) at &lt;strong&gt;845.4 MB&lt;/strong&gt; (95.5%) and &lt;code&gt;db_recipes&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;) at &lt;strong&gt;40.2 MB&lt;/strong&gt; (4.5%). Startup took &lt;code&gt;104.9 s&lt;/code&gt; with images cached (dominated by first-boot Django migrations and &lt;code&gt;collectstatic&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Inspecting Tandoor's &lt;code&gt;/opt/recipes/boot.sh&lt;/code&gt; explains the &lt;strong&gt;3.4×&lt;/strong&gt; app-container difference immediately: Tandoor defaults to &lt;strong&gt;&lt;code&gt;GUNICORN_WORKERS=3&lt;/code&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;code&gt;GUNICORN_THREADS=2&lt;/code&gt;&lt;/strong&gt; behind an embedded Nginx process inside the same container. Each Gunicorn worker loads the full Django ORM, cookbook schema, OAuth provider, and allauth stack into memory (~280 MB per worker). Mealie runs a single async FastAPI/Uvicorn backend process by default, keeping idle RAM under 250 MB.&lt;/p&gt;

&lt;p&gt;You can trim Tandoor's footprint by explicitly setting &lt;code&gt;GUNICORN_WORKERS=1&lt;/code&gt; in &lt;code&gt;.env&lt;/code&gt; for a single-household server, but out of the box, Tandoor reserves nearly a full gigabyte before you import your first recipe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day-2 operations: first-boot behavior, secrets, and backups
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Full Operational Matrix &amp;amp; Deployment Guides
&lt;/h2&gt;

&lt;p&gt;Read the complete side-by-side operational checklist, Day-2 backup trade-offs, VPS co-hosting math, and verified Docker Compose guides on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/compare/mealie-vs-tandoor-recipes/" rel="noopener noreferrer"&gt;Read the full comparison on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/compare/mealie-vs-tandoor-recipes/" rel="noopener noreferrer"&gt;https://vpsfolio.com/compare/mealie-vs-tandoor-recipes/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>recipes</category>
      <category>mealie</category>
      <category>tandoor</category>
      <category>comparison</category>
    </item>
    <item>
      <title>Linkwarden vs Wallabag: Measured RAM (550 vs 96 MB) &amp; Docker Ops</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/linkwarden-vs-wallabag-measured-ram-550-vs-96-mb-docker-ops-452b</link>
      <guid>https://dev.to/gongkang/linkwarden-vs-wallabag-measured-ram-550-vs-96-mb-docker-ops-452b</guid>
      <description>&lt;h3&gt;
  
  
  Side-by-Side Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;App&lt;/th&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/self-host-linkwarden-docker-compose/" rel="noopener noreferrer"&gt;Linkwarden&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;550.0 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;189.9s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/wallabag-docker-self-hosting/" rel="noopener noreferrer"&gt;Wallabag&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;95.5 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;149.5s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Measured RAM Gap:&lt;/strong&gt; &lt;strong&gt;5.8×&lt;/strong&gt; (454.5 MB difference across identical sandbox sampling)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Both stacks run 3 containers with PostgreSQL 16, yet Linkwarden used 5.8x more idle RAM than Wallabag (550.0 MB vs 95.5 MB) — splitting them between a 2 GB and 1 GB VPS. Pick Wallabag for lightweight article reading and low-RAM co-hosting; pick Linkwarden for collaborative collections, full-page screenshots/PDFs, and Meilisearch.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://vpsfolio.com/compare/linkwarden-vs-wallabag/" rel="noopener noreferrer"&gt;full side-by-side comparison and operational matrix&lt;/a&gt; or browse all verified stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;Linkwarden and Wallabag are the two most common self-hosted answers for escaping Pocket, Raindrop, or browser bookmark rot. Both run as three-container Docker Compose stacks backed by &lt;code&gt;postgres:16-alpine&lt;/code&gt;, so you might expect similar server requirements.&lt;/p&gt;

&lt;p&gt;In our verified Docker Compose runs, the gap was dramatic: &lt;strong&gt;Linkwarden idled at 550.0 MB while Wallabag idled at 95.5 MB&lt;/strong&gt; — a &lt;strong&gt;5.8×&lt;/strong&gt; difference (&lt;strong&gt;454.5 MB&lt;/strong&gt; saved) across the exact same container count. That gap splits them across two VPS sizing tiers: Wallabag fits easily on a &lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;, while Linkwarden belongs on a &lt;a href="https://vpsfolio.com/vps/2gb-vps/" rel="noopener noreferrer"&gt;2 GB VPS&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why two 3-container stacks differ by 454.5 MB
&lt;/h2&gt;

&lt;p&gt;Per-container &lt;code&gt;docker stats&lt;/code&gt; sampling shows that PostgreSQL is almost identical in both runs — the entire gap comes from the application runtime and search/cache sidecar:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linkwarden (550.0 MB total, 3 containers)&lt;/strong&gt; splits into &lt;code&gt;linkwarden&lt;/code&gt; (&lt;code&gt;ghcr.io/linkwarden/linkwarden:latest&lt;/code&gt;, Next.js + Playwright) at &lt;strong&gt;475.8 MB&lt;/strong&gt; (86.5%), &lt;code&gt;meilisearch&lt;/code&gt; (&lt;code&gt;getmeili/meilisearch:v1.13.3&lt;/code&gt;) at &lt;strong&gt;44.0 MB&lt;/strong&gt; (8.0%), and &lt;code&gt;postgres&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;) at &lt;strong&gt;30.3 MB&lt;/strong&gt; (5.5%). Startup took &lt;code&gt;189.9 s&lt;/code&gt; including image pulls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wallabag (95.5 MB total, 3 containers)&lt;/strong&gt; splits into &lt;code&gt;wallabag&lt;/code&gt; (&lt;code&gt;wallabag/wallabag:latest&lt;/code&gt;, PHP Symfony) at &lt;strong&gt;64.0 MB&lt;/strong&gt; (67.0%), &lt;code&gt;db&lt;/code&gt; (&lt;code&gt;postgres:16-alpine&lt;/code&gt;) at &lt;strong&gt;23.3 MB&lt;/strong&gt; (24.4%), and &lt;code&gt;redis&lt;/code&gt; (&lt;code&gt;redis:7-alpine&lt;/code&gt;) at &lt;strong&gt;8.2 MB&lt;/strong&gt; (8.6%). Startup took &lt;code&gt;149.5 s&lt;/code&gt; including image pulls.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The single &lt;code&gt;linkwarden&lt;/code&gt; container alone (&lt;strong&gt;475.8 MB&lt;/strong&gt;) consumes nearly &lt;strong&gt;5×&lt;/strong&gt; the memory of Wallabag's entire three-container stack (&lt;strong&gt;95.5 MB&lt;/strong&gt;). And that is &lt;em&gt;before&lt;/em&gt; archiving begins: every Linkwarden preservation job launches a headless Playwright browser to render screenshots and PDFs, so concurrent saves spike RAM sharply unless you keep &lt;code&gt;MAX_WORKERS=1&lt;/code&gt;. Wallabag extracts article text and images directly in PHP without spawning a browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day-2 operations: secrets, volumes, and failure modes
&lt;/h2&gt;

&lt;p&gt;Both stacks require PostgreSQL dumps plus file volume archives, but Linkwarden carries a larger surface of required secrets and search-index maintenance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full Operational Matrix &amp;amp; Deployment Guides
&lt;/h2&gt;

&lt;p&gt;Read the complete side-by-side operational checklist, Day-2 backup trade-offs, VPS co-hosting math, and verified Docker Compose guides on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/compare/linkwarden-vs-wallabag/" rel="noopener noreferrer"&gt;Read the full comparison on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/compare/linkwarden-vs-wallabag/" rel="noopener noreferrer"&gt;https://vpsfolio.com/compare/linkwarden-vs-wallabag/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>bookmarks</category>
      <category>linkwarden</category>
      <category>wallabag</category>
      <category>comparison</category>
    </item>
    <item>
      <title>Self-Host Directus with Docker Compose and PostgreSQL</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Thu, 03 Dec 2026 03:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/self-host-directus-with-docker-compose-and-postgresql-27fh</link>
      <guid>https://dev.to/gongkang/self-host-directus-with-docker-compose-and-postgresql-27fh</guid>
      <description>&lt;h3&gt;
  
  
  Measured Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;262.3 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;93.8s&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Per-container RAM:&lt;/strong&gt; &lt;code&gt;directus&lt;/code&gt; 205.6 MB · &lt;code&gt;database&lt;/code&gt; 44.7 MB · &lt;code&gt;cache&lt;/code&gt; 12.0 MB &lt;em&gt;(sandbox verified 2026-11-28)&lt;/em&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;View the &lt;a href="https://vpsfolio.com/self-host-directus-docker-compose/" rel="noopener noreferrer"&gt;interactive benchmark plate and full VPS sizing comparison&lt;/a&gt; or compare all measured stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What Directus does and what it needs
&lt;/h2&gt;

&lt;p&gt;Directus is a data platform that sits on top of an existing SQL database. It introspects your schema and generates a REST and GraphQL API, an admin app, and a permissions layer without copying your data into a proprietary store. You point it at PostgreSQL, MySQL, MariaDB, MS SQL, Oracle, or CockroachDB and it works with the tables you already have.&lt;/p&gt;

&lt;p&gt;The runtime is a single Node service. It needs three things to be useful in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A SQL database (PostgreSQL is the safest default and the one this guide uses).&lt;/li&gt;
&lt;li&gt;A cache and pub/sub backend. Redis is optional but strongly recommended once you run more than one instance or use the realtime/websocket features.&lt;/li&gt;
&lt;li&gt;Persistent storage for uploaded files. Local disk works for a single node; S3-compatible object storage is the right answer for anything that scales.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The upstream project does not publish a minimum memory figure. Practical sizing depends on workload: an idle instance with a handful of collections runs comfortably in a small container, while heavy import jobs, large file uploads, and many concurrent API clients push memory and CPU up. Watch container RSS after a week of real traffic rather than trusting a number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites, ports, and volume constraints
&lt;/h2&gt;

&lt;p&gt;You need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Linux VPS with Docker Engine 24+ and the Compose v2 plugin (&lt;code&gt;docker compose version&lt;/code&gt; should print v2.x).&lt;/li&gt;
&lt;li&gt;A domain name pointed at the server if you want HTTPS. You can test over an SSH tunnel without one.&lt;/li&gt;
&lt;li&gt;Ports 80 and 443 free for the reverse proxy. Directus itself listens on 8055 inside the container; we bind it to &lt;code&gt;127.0.0.1:8055&lt;/code&gt; so it is never reachable unencrypted from the public internet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Volumes used by this stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;directus_database&lt;/code&gt; — PostgreSQL data directory (&lt;code&gt;/var/lib/postgresql/data&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;directus_uploads&lt;/code&gt; — Directus local file storage (&lt;code&gt;/directus/uploads&lt;/code&gt;), mounted into the app container.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;directus_redis&lt;/code&gt; — Redis append-only file, only needed if you enable persistence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not mount the Docker socket or arbitrary host paths. Everything the app needs lives in named volumes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production Docker Compose setup
&lt;/h2&gt;

&lt;p&gt;Create a project directory and generate secrets first. Never ship the &lt;code&gt;secret&lt;/code&gt;/&lt;code&gt;Test@123&lt;/code&gt; values from the upstream debug compose file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p /opt/directus &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;cd&lt;/span&gt; /opt/directus
openssl rand -hex 32   &lt;span class="c"&gt;# KEY&lt;/span&gt;
openssl rand -hex 32   &lt;span class="c"&gt;# SECRET&lt;/span&gt;
openssl rand -hex 24   &lt;span class="c"&gt;# DB_PASSWORD&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Write the environment file. Replace the three generated values and set &lt;code&gt;PUBLIC_URL&lt;/code&gt; to your real HTTPS origin.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; .env
&lt;span class="nv"&gt;DOMAIN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;admin.example.com
&lt;span class="nv"&gt;PUBLIC_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;https://admin.example.com
&lt;span class="nv"&gt;KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;paste_generated_key_here
&lt;span class="nv"&gt;SECRET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;paste_generated_secret_here
&lt;span class="nv"&gt;DB_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;paste_generated_db_password_here
&lt;span class="nv"&gt;ADMIN_EMAIL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;you@example.com
&lt;span class="nv"&gt;ADMIN_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;paste_a_strong_admin_password_here
&lt;span class="nv"&gt;DB_CLIENT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;pg
&lt;span class="nv"&gt;DB_HOST&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;database
&lt;span class="nv"&gt;DB_PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;5432
&lt;span class="nv"&gt;DB_DATABASE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;directus
&lt;span class="nv"&gt;DB_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;directus
&lt;span class="nv"&gt;CACHE_ENABLED&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="nv"&gt;CACHE_STORE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;redis
&lt;span class="nv"&gt;REDIS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;redis://cache:6379
&lt;span class="nv"&gt;STORAGE_LOCATIONS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kd"&gt;local&lt;/span&gt;
&lt;span class="nv"&gt;STORAGE_LOCAL_DRIVER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kd"&gt;local&lt;/span&gt;
&lt;span class="nv"&gt;STORAGE_LOCAL_ROOT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;./uploads
&lt;span class="nv"&gt;TZ&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;UTC
EOF
chmod 600 .env
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the compose file. It runs Directus, PostgreSQL, and Redis with healthchecks and named volumes, and binds the app to localhost only.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cat &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; compose.yml
services:
  database:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: &lt;span class="nv"&gt;${DB_DATABASE:-directus}&lt;/span&gt;
      POSTGRES_USER: &lt;span class="nv"&gt;${DB_USER:-directus}&lt;/span&gt;
      POSTGRES_PASSWORD: &lt;span class="nv"&gt;${DB_PASSWORD}&lt;/span&gt;
    volumes:
      - directus_database:/var/lib/postgresql/data
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD-SHELL"&lt;/span&gt;, &lt;span class="s2"&gt;"pg_isready -U ${DB_USER:-directus} -d ${DB_DATABASE:-directus}"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 10

  cache:
    image: redis:7-alpine
    restart: unless-stopped
    command: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"redis-server"&lt;/span&gt;, &lt;span class="s2"&gt;"--appendonly"&lt;/span&gt;, &lt;span class="s2"&gt;"yes"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
    volumes:
      - directus_redis:/data
    healthcheck:
      test: &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"CMD"&lt;/span&gt;, &lt;span class="s2"&gt;"redis-cli"&lt;/span&gt;, &lt;span class="s2"&gt;"ping"&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
      interval: 10s
      timeout: 5s
      retries: 10

  directus:
    image: directus/directus:11
    restart: unless-stopped
    depends_on:
      database:
        condition: service_healthy
      cache:
        condition: service_healthy
    ports:
      - &lt;span class="s2"&gt;"127.0.0.1:8055:8055"&lt;/span&gt;
    environment:
      KEY: &lt;span class="nv"&gt;${KEY}&lt;/span&gt;
      SECRET: &lt;span class="nv"&gt;${SECRET}&lt;/span&gt;
      ADMIN_EMAIL: &lt;span class="nv"&gt;${ADMIN_EMAIL}&lt;/span&gt;
      ADMIN_PASSWORD: &lt;span class="nv"&gt;${ADMIN_PASSWORD}&lt;/span&gt;
      PUBLIC_URL: &lt;span class="nv"&gt;${PUBLIC_URL}&lt;/span&gt;
      DB_CLIENT: &lt;span class="nv"&gt;${DB_CLIENT:-pg}&lt;/span&gt;
      DB_HOST: &lt;span class="nv"&gt;${DB_HOST:-database}&lt;/span&gt;
      DB_PORT: &lt;span class="nv"&gt;${DB_PORT:-5432}&lt;/span&gt;
      DB_DATABASE: &lt;span class="nv"&gt;${DB_DATABASE:-directus}&lt;/span&gt;
      DB_USER: &lt;span class="nv"&gt;${DB_USER:-directus}&lt;/span&gt;
      DB_PASSWORD: &lt;span class="nv"&gt;${DB_PASSWORD}&lt;/span&gt;
      CACHE_ENABLED: &lt;span class="nv"&gt;${CACHE_ENABLED:-true}&lt;/span&gt;
      CACHE_STORE: &lt;span class="nv"&gt;${CACHE_STORE:-redis}&lt;/span&gt;
      REDIS: &lt;span class="nv"&gt;${REDIS:-redis://cache:6379}&lt;/span&gt;
      STORAGE_LOCATIONS: &lt;span class="nv"&gt;${STORAGE_LOCATIONS:-local}&lt;/span&gt;
      STORAGE_LOCAL_DRIVER: &lt;span class="nv"&gt;${STORAGE_LOCAL_DRIVER:-local}&lt;/span&gt;
      STORAGE_LOCAL_ROOT: &lt;span class="nv"&gt;${STORAGE_LOCAL_ROOT:-./uploads}&lt;/span&gt;
      TZ: &lt;span class="nv"&gt;${TZ:-UTC}&lt;/span&gt;
    volumes:
      - directus_uploads:/directus/uploads

volumes:
  directus_database:
  directus_uploads:
  directus_redis:
EOF
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Bring it up and confirm the healthchecks pass:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose up -d
docker compose ps
docker compose logs -f directus
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Directus runs its schema bootstrap on first boot using &lt;code&gt;ADMIN_EMAIL&lt;/code&gt; and &lt;code&gt;ADMIN_PASSWORD&lt;/code&gt;. Once you see the startup banner, the API is live on &lt;code&gt;127.0.0.1:8055&lt;/code&gt;. To test without a domain, tunnel it from your laptop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh -L 8055:127.0.0.1:8055 user@your-server
&lt;span class="c"&gt;# then open http://localhost:8055&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Reverse proxy, HTTPS, and first-run hardening
&lt;/h2&gt;

&lt;p&gt;Directus serves both the admin SPA and the API from the same origin, so a single virtual host is enough. It also uses websockets for realtime updates, so the proxy must forward &lt;code&gt;Upgrade&lt;/code&gt; and &lt;code&gt;Connection&lt;/code&gt; headers. Uploads can be large; raise the body limit or file uploads will fail with a 413.&lt;/p&gt;

&lt;p&gt;Install Caddy on the host (not in Compose) and point it at the localhost port:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo apt install -y caddy
sudo tee /etc/caddy/Caddyfile &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'EOF'&lt;/span&gt;
admin.example.com &lt;span class="o"&gt;{&lt;/span&gt;
    encode zstd gzip
    request_body &lt;span class="o"&gt;{&lt;/span&gt;
        max_size 100MB
    &lt;span class="o"&gt;}&lt;/span&gt;
    reverse_proxy 127.0.0.1:8055 &lt;span class="o"&gt;{&lt;/span&gt;
        header_up X-Forwarded-Proto &lt;span class="o"&gt;{&lt;/span&gt;scheme&lt;span class="o"&gt;}&lt;/span&gt;
        header_up X-Forwarded-Host &lt;span class="o"&gt;{&lt;/span&gt;host&lt;span class="o"&gt;}&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
EOF
sudo systemctl reload caddy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Caddy handles ACME certificates automatically and passes websocket upgrades through by default. If you use Nginx instead, add &lt;code&gt;proxy_set_header Upgrade $http_upgrade;&lt;/code&gt;, &lt;code&gt;proxy_set_header Connection "upgrade";&lt;/code&gt;, &lt;code&gt;client_max_body_size 100M;&lt;/code&gt;, and &lt;code&gt;proxy_set_header X-Forwarded-Proto $scheme;&lt;/code&gt; to the location block.&lt;/p&gt;

&lt;p&gt;First-run hardening checklist:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;PUBLIC_URL&lt;/code&gt; must match the HTTPS origin exactly. Password reset links, file URLs, and OAuth redirects are built from it, and a mismatch produces broken emails and login loops.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;KEY&lt;/code&gt; and &lt;code&gt;SECRET&lt;/code&gt; are not interchangeable. &lt;code&gt;KEY&lt;/code&gt; encrypts stored credentials; &lt;code&gt;SECRET&lt;/code&gt; signs tokens. Rotating &lt;code&gt;SECRET&lt;/code&gt; invalidates every session; rotating &lt;code&gt;KEY&lt;/code&gt; can break stored secrets. Back both up.&lt;/li&gt;
&lt;li&gt;After the first login, change the admin password in the UI and remove &lt;code&gt;ADMIN_PASSWORD&lt;/code&gt; from &lt;code&gt;.env&lt;/code&gt;. It is only read when the admin user is created.&lt;/li&gt;
&lt;li&gt;Restrict the admin panel by IP at the proxy if it is internal-only, and keep the public API behind Directus role permissions rather than relying on network controls.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Updating, backups, and common pitfalls
&lt;/h2&gt;

&lt;p&gt;Update the app image and dependencies in place:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /opt/directus
docker compose pull
docker compose up -d
docker compose logs -f directus
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Directus runs database migrations on boot. Take a backup before every update and read the release notes for breaking changes between major versions.&lt;/p&gt;

&lt;p&gt;Back up the database and uploads. The volume names are prefixed with the Compose project name, which defaults to the directory name (&lt;code&gt;directus&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker compose &lt;span class="nb"&gt;exec&lt;/span&gt; -T database pg_dump -U directus directus &lt;span class="o"&gt;|&lt;/span&gt; gzip &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; directus-db-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.sql.gz
docker run --rm -v directus_directus_uploads:/data -v &lt;span class="s2"&gt;"$PWD"&lt;/span&gt;:/backup alpine \
  tar czf /backup/directus-uploads-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.tar.gz -C /data .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Restore by piping the dump back into &lt;code&gt;psql&lt;/code&gt; and extracting the uploads tarball into the volume. Test the restore on a staging box; an untested backup is a guess.&lt;/p&gt;

&lt;p&gt;Two pitfalls that bite people in production:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Local storage and multiple replicas.&lt;/strong&gt; &lt;code&gt;STORAGE_LOCAL_ROOT=./uploads&lt;/code&gt; writes to the container's volume. If you scale Directus to more than one container, each replica sees only its own files. Move to an S3-compatible driver before scaling horizontally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redis without persistence or auth.&lt;/strong&gt; The default &lt;code&gt;redis://cache:6379&lt;/code&gt; is fine on a private Compose network, but never publish that port. If you enable &lt;code&gt;appendonly&lt;/code&gt;, back up &lt;code&gt;directus_redis&lt;/code&gt; too, or accept that cache and realtime state reset on restart.&lt;/li&gt;
&lt;/ol&gt;




&lt;p&gt;&lt;strong&gt;Measured in our sandbox run:&lt;/strong&gt; total memory 262.3 MB (sum of per-container peaks over a 30s idle window after startup) across 3 containers; largest container 205.6 MB; published port(s) 8055; HTTP probe returned 302. The run took 93.8s including the image download. Required secret(s) ADMIN_EMAIL, ADMIN_PASSWORD, DB_PASSWORD, KEY, PUBLIC_URL, SECRET were generated for the test run, as the tutorial instructs. Container breakdown: directus 205.6 MB, database 44.7 MB, cache 12.0 MB.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Verification: we ran this docker-compose stack in a disposable Docker environment and recorded the measurements above. They describe that run, not a guarantee for your host.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/self-host-directus-docker-compose/" rel="noopener noreferrer"&gt;https://vpsfolio.com/self-host-directus-docker-compose/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>directus</category>
      <category>docker</category>
      <category>cms</category>
      <category>postgres</category>
    </item>
    <item>
      <title>Homepage vs Glance: Measured RAM (155.9 vs 21.6 MB) &amp; Docker Ops</title>
      <dc:creator>konsongong</dc:creator>
      <pubDate>Mon, 30 Nov 2026 13:29:00 +0000</pubDate>
      <link>https://dev.to/gongkang/homepage-vs-glance-measured-ram-1559-vs-216-mb-docker-ops-kjh</link>
      <guid>https://dev.to/gongkang/homepage-vs-glance-measured-ram-1559-vs-216-mb-docker-ops-kjh</guid>
      <description>&lt;h3&gt;
  
  
  Side-by-Side Sandbox Benchmark
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;App&lt;/th&gt;
&lt;th&gt;Idle RAM&lt;/th&gt;
&lt;th&gt;Containers&lt;/th&gt;
&lt;th&gt;Startup&lt;/th&gt;
&lt;th&gt;Recommended VPS&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/self-host-homepage-dashboard-docker-compose/" rel="noopener noreferrer"&gt;Homepage&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;155.9 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;47.5s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/glance-dashboard-docker-self-hosting/" rel="noopener noreferrer"&gt;Glance&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;21.6 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;37.6s&lt;/td&gt;
&lt;td&gt;&lt;a href="https://vpsfolio.com/vps/1gb-vps/" rel="noopener noreferrer"&gt;1 GB VPS&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Measured RAM Gap:&lt;/strong&gt; &lt;strong&gt;7.2×&lt;/strong&gt; (134.3 MB difference across identical sandbox sampling)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Homepage used 7.2x more idle RAM than Glance (155.9 MB vs 21.6 MB, 1 container each) because Next.js carries far more baseline overhead than Glance's Go binary. Pick Glance for a fast, ultra-light RSS/feed and status hub; pick Homepage for 100+ service API widgets and Docker label discovery.&lt;/p&gt;

&lt;p&gt;Explore the &lt;a href="https://vpsfolio.com/compare/homepage-vs-glance/" rel="noopener noreferrer"&gt;full side-by-side comparison and operational matrix&lt;/a&gt; or browse all verified stacks on &lt;a href="https://vpsfolio.com/benchmarks/" rel="noopener noreferrer"&gt;VPSFolio Benchmarks&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;Homepage and Glance sit at the top of almost every self-hosted dashboard shortlist. Both run as a single stateless Docker container configured purely through YAML files, with no database or Redis sidecar to maintain.&lt;/p&gt;

&lt;p&gt;In our verified Docker Compose runs, the memory gap between their runtimes was stark: &lt;strong&gt;Homepage idled at 155.9 MB while Glance idled at 21.6 MB&lt;/strong&gt; — a &lt;strong&gt;7.2×&lt;/strong&gt; difference (&lt;strong&gt;134.3 MB&lt;/strong&gt; saved) for two single-container dashboards. Both still fit inside a 1 GB VPS, but that 134.3 MB delta is roughly the entire idle footprint of &lt;a href="https://vpsfolio.com/self-host-actual-budget-docker/" rel="noopener noreferrer"&gt;Actual Budget&lt;/a&gt; (148.4 MB) or &lt;a href="https://vpsfolio.com/searxng-docker-self-hosting/" rel="noopener noreferrer"&gt;SearXNG&lt;/a&gt; (138.6 MB).&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the 7.2× RAM gap exists
&lt;/h2&gt;

&lt;p&gt;Neither stack runs a database, so 100% of the gap comes from the application runtime inside the single container:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Homepage (155.9 MB total)&lt;/strong&gt; runs a &lt;strong&gt;Next.js / Node.js&lt;/strong&gt; server (&lt;code&gt;ghcr.io/gethomepage/homepage:latest&lt;/code&gt;) on port &lt;code&gt;3000&lt;/code&gt;. Even with a minimal starter configuration, the Node.js runtime and Next.js server baseline sit at &lt;strong&gt;155.9 MB&lt;/strong&gt; idle (startup run: &lt;code&gt;47.5 s&lt;/code&gt; including image pull).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glance (21.6 MB total)&lt;/strong&gt; ships as a single compiled &lt;strong&gt;Go binary&lt;/strong&gt; (&lt;code&gt;glanceapp/glance:latest&lt;/code&gt;) on port &lt;code&gt;8080&lt;/code&gt;. It reads &lt;code&gt;/app/config/glance.yml&lt;/code&gt;, fetches widget feeds on demand, and caches responses in memory with no background polling loop — idling at &lt;strong&gt;21.6 MB&lt;/strong&gt; (startup run: &lt;code&gt;37.6 s&lt;/code&gt; with cached image).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because Glance does not poll upstream APIs when nobody has the page open, its idle footprint stays close to a bare Go HTTP server. Under active use with dozens of RSS feeds or custom API widgets, both dashboards grow above idle baseline, but Glance starts &lt;strong&gt;134.3 MB&lt;/strong&gt; lower.&lt;/p&gt;

&lt;h2&gt;
  
  
  Day-2 operations: configuration, auth, and Docker socket safety
&lt;/h2&gt;

&lt;p&gt;Both apps keep state in plain YAML files, making backups a single directory archive and upgrades a straightforward &lt;code&gt;docker compose pull &amp;amp;&amp;amp; docker compose up -d&lt;/code&gt;. The operational differences show up around host validation, authentication, and container discovery.&lt;/p&gt;

&lt;h2&gt;
  
  
  Full Operational Matrix &amp;amp; Deployment Guides
&lt;/h2&gt;

&lt;p&gt;Read the complete side-by-side operational checklist, Day-2 backup trade-offs, VPS co-hosting math, and verified Docker Compose guides on VPSFolio:&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;strong&gt;&lt;a href="https://vpsfolio.com/compare/homepage-vs-glance/" rel="noopener noreferrer"&gt;Read the full comparison on VPSFolio&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published with full interactive benchmark metrics and server sizing notes at &lt;a href="https://vpsfolio.com/compare/homepage-vs-glance/" rel="noopener noreferrer"&gt;https://vpsfolio.com/compare/homepage-vs-glance/&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>dashboard</category>
      <category>homepage</category>
      <category>glance</category>
      <category>comparison</category>
    </item>
  </channel>
</rss>
