<?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>Forem: Dan</title>
    <description>The latest articles on Forem by Dan (@main).</description>
    <link>https://forem.com/main</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F307504%2F6869e176-d08e-43eb-bcf1-4966efc40536.PNG</url>
      <title>Forem: Dan</title>
      <link>https://forem.com/main</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/main"/>
    <language>en</language>
    <item>
      <title>Why I Don’t Want Docker to Be the Default Deploy Path</title>
      <dc:creator>Dan</dc:creator>
      <pubDate>Sun, 03 May 2026 00:19:30 +0000</pubDate>
      <link>https://forem.com/main/why-i-dont-want-docker-to-be-the-default-deploy-path-55hn</link>
      <guid>https://forem.com/main/why-i-dont-want-docker-to-be-the-default-deploy-path-55hn</guid>
      <description>&lt;p&gt;Docker is good software.&lt;/p&gt;

&lt;p&gt;I want to say that up front because the internet has a special talent for turning every tooling opinion into a cage match.&lt;/p&gt;

&lt;p&gt;I use Docker. I like Docker for databases, repeatable CI jobs, weird dependency stacks, internal services, and anything where I need a clean system image that behaves the same everywhere.&lt;/p&gt;

&lt;p&gt;But I do not want Docker to be the default deploy path for every web app.&lt;/p&gt;

&lt;p&gt;Sometimes I just want to put an app on a VPS and have it run.&lt;/p&gt;

&lt;p&gt;That should feel boring.&lt;/p&gt;

&lt;h2&gt;
  
  
  The default path got heavier
&lt;/h2&gt;

&lt;p&gt;A lot of modern deploy tutorials quietly turn this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;build app
copy files to server
start app
route traffic
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;into this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;write a Dockerfile
pick a base image
handle build layers
create a registry
push an image
pull it on the server
wire up compose
configure networking
mount secrets
debug why the container exits
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;None of those steps are evil.&lt;/p&gt;

&lt;p&gt;They are just a lot.&lt;/p&gt;

&lt;p&gt;And for many apps, they are not the interesting part.&lt;/p&gt;

&lt;p&gt;If I am deploying a side project, a SaaS, a webhook handler, a dashboard, or a little internal tool, the app usually needs a few simple things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;build the code&lt;/li&gt;
&lt;li&gt;start the process&lt;/li&gt;
&lt;li&gt;serve HTTPS&lt;/li&gt;
&lt;li&gt;restart when it crashes&lt;/li&gt;
&lt;li&gt;keep secrets out of git&lt;/li&gt;
&lt;li&gt;show logs when something breaks&lt;/li&gt;
&lt;li&gt;maybe run a few apps on the same machine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That list does not automatically mean "containerize everything".&lt;/p&gt;

&lt;h2&gt;
  
  
  Containers solve real problems
&lt;/h2&gt;

&lt;p&gt;This is not an anti-Docker post.&lt;/p&gt;

&lt;p&gt;Docker solves problems that are absolutely real.&lt;/p&gt;

&lt;p&gt;It gives you a repeatable runtime. It makes system packages less mysterious. It can isolate services from each other. It makes CI easier. It gives teams a common artifact they can pass around.&lt;/p&gt;

&lt;p&gt;That is useful.&lt;/p&gt;

&lt;p&gt;But defaults matter.&lt;/p&gt;

&lt;p&gt;When Docker becomes the first step for every deploy, even tiny apps inherit container concerns before they have container problems.&lt;/p&gt;

&lt;p&gt;Now the developer is thinking about image size, build cache, multi-stage builds, registry auth, container networking, volume paths, base image updates, and whether the process can find the right port inside the container.&lt;/p&gt;

&lt;p&gt;Again, all valid stuff.&lt;/p&gt;

&lt;p&gt;Just not always the first stuff.&lt;/p&gt;

&lt;h2&gt;
  
  
  A VPS can run normal processes
&lt;/h2&gt;

&lt;p&gt;The funny thing is that a VPS is already a computer.&lt;/p&gt;

&lt;p&gt;It can run a process.&lt;/p&gt;

&lt;p&gt;That sounds obvious, but a lot of modern deployment advice treats a server like it is only useful once it is running a container scheduler.&lt;/p&gt;

&lt;p&gt;For many apps, a direct process model is enough:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bun run start
node server.js
./my-go-app
./target/release/my-rust-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The hard parts are not usually "can Linux run this binary?"&lt;/p&gt;

&lt;p&gt;The hard parts are everything around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how does traffic reach it?&lt;/li&gt;
&lt;li&gt;how does HTTPS work?&lt;/li&gt;
&lt;li&gt;how do I deploy a new version without downtime?&lt;/li&gt;
&lt;li&gt;where do logs go?&lt;/li&gt;
&lt;li&gt;how do secrets get injected?&lt;/li&gt;
&lt;li&gt;how do I restart it?&lt;/li&gt;
&lt;li&gt;how do I run multiple apps on one box?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those are deployment problems, not necessarily Docker problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  I want the PaaS feeling without giving up the server
&lt;/h2&gt;

&lt;p&gt;This is the thing I keep wanting.&lt;/p&gt;

&lt;p&gt;I like the feel of a PaaS:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and then the app is live.&lt;/p&gt;

&lt;p&gt;But I also like owning a VPS. It is cheap, flexible, and boring in a good way. I know where the app is running. I can SSH in. I can inspect the machine. I am not turning every weekend project into a cloud architecture diagram.&lt;/p&gt;

&lt;p&gt;So the ideal flow, at least for me, looks more like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tako deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Local machine builds the app. The deploy tool copies the release to the server. The server runs the app as a normal process. A proxy routes requests to healthy instances. HTTPS is handled. Logs are available. Secrets are managed outside random &lt;code&gt;.env&lt;/code&gt; files.&lt;/p&gt;

&lt;p&gt;No image registry needed.&lt;/p&gt;

&lt;p&gt;No Dockerfile unless I actually want one.&lt;/p&gt;

&lt;p&gt;No container networking puzzle for a two-route web app.&lt;/p&gt;

&lt;p&gt;That is the direction I have been exploring with &lt;a href="https://tako.sh/" rel="noopener noreferrer"&gt;Tako&lt;/a&gt;, which is a deployment tool for running apps on your own servers.&lt;/p&gt;

&lt;h2&gt;
  
  
  The boring path should be the happy path
&lt;/h2&gt;

&lt;p&gt;There is a version of deployment that feels almost disappointingly plain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tako init
tako servers add
tako deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the kind of boring I want.&lt;/p&gt;

&lt;p&gt;Not boring as in weak or limited.&lt;/p&gt;

&lt;p&gt;Boring as in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;fewer concepts before the first deploy&lt;/li&gt;
&lt;li&gt;fewer files created only for infrastructure&lt;/li&gt;
&lt;li&gt;fewer moving parts for apps&lt;/li&gt;
&lt;li&gt;fewer places where a simple mistake hides&lt;/li&gt;
&lt;li&gt;fewer "wait, is this a Docker problem or an app problem?" moments&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think the default path should optimize for the app getting online first.&lt;/p&gt;

&lt;p&gt;Then, if the app grows into container needs, reach for containers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Docker should be an option, not the entrance fee
&lt;/h2&gt;

&lt;p&gt;The web has a habit of turning powerful tools into mandatory tools.&lt;/p&gt;

&lt;p&gt;Docker is powerful. It deserves its place.&lt;/p&gt;

&lt;p&gt;But I do not think every deploy should start by asking the developer to write a container recipe.&lt;/p&gt;

&lt;p&gt;For a lot of projects, the best deploy path is still:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;build the app&lt;/li&gt;
&lt;li&gt;put it on a server&lt;/li&gt;
&lt;li&gt;run it&lt;/li&gt;
&lt;li&gt;route traffic to it&lt;/li&gt;
&lt;li&gt;make updates boring&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is not old fashioned. That is just a good abstraction.&lt;/p&gt;

&lt;p&gt;The default deploy path should feel calm.&lt;/p&gt;

&lt;p&gt;It should feel like the server is helping you run your app, not asking you to become a platform engineer before lunch.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>docker</category>
      <category>webdev</category>
      <category>automation</category>
    </item>
    <item>
      <title>Shipping Web Apps to a VPS Should Be This Simple</title>
      <dc:creator>Dan</dc:creator>
      <pubDate>Sun, 03 May 2026 00:12:44 +0000</pubDate>
      <link>https://forem.com/main/shipping-web-apps-to-a-vps-should-be-this-simple-2pdh</link>
      <guid>https://forem.com/main/shipping-web-apps-to-a-vps-should-be-this-simple-2pdh</guid>
      <description>&lt;p&gt;I like servers.&lt;/p&gt;

&lt;p&gt;Not in a "let me spend Saturday hand-tuning nginx" way. More in a "this $6 VPS is sitting right here and could probably run half my side projects" way.&lt;/p&gt;

&lt;p&gt;The weird part is that deploying to one still feels more complicated than it should.&lt;/p&gt;

&lt;p&gt;For a lot of small and medium web apps, the app itself is not the hard part. The annoying part is everything around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;building the app&lt;/li&gt;
&lt;li&gt;getting it onto the server&lt;/li&gt;
&lt;li&gt;starting it without dropping requests&lt;/li&gt;
&lt;li&gt;setting up HTTPS&lt;/li&gt;
&lt;li&gt;keeping secrets out of random &lt;code&gt;.env&lt;/code&gt; files&lt;/li&gt;
&lt;li&gt;seeing logs without SSH archaeology&lt;/li&gt;
&lt;li&gt;making local dev look enough like production that cookies and OAuth stop being weird&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of that is impossible. It is just a bunch of little chores stacked on top of each other.&lt;/p&gt;

&lt;p&gt;That pile of chores is why I started working on &lt;a href="https://github.com/lilienblum/tako" rel="noopener noreferrer"&gt;Tako&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The thing I wanted
&lt;/h2&gt;

&lt;p&gt;I wanted deployment to feel closer to this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tako init
tako deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Not because two commands are magical, but because most apps don't need a custom infrastructure thesis before they can serve HTTP.&lt;/p&gt;

&lt;p&gt;Tako is a CLI plus a tiny server runtime. You install the server once on your VPS, add that server locally, then deploy from your project directory.&lt;/p&gt;

&lt;p&gt;The deploy flow is intentionally plain:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build locally&lt;/li&gt;
&lt;li&gt;Package the output&lt;/li&gt;
&lt;li&gt;Upload it over SSH/SFTP&lt;/li&gt;
&lt;li&gt;Unpack it on the server&lt;/li&gt;
&lt;li&gt;Start the new version&lt;/li&gt;
&lt;li&gt;Roll traffic over without dropping the old version first&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No registry. No image push. No Kubernetes object graph. No "where did this container layer come from?" moment at 1:12 AM.&lt;/p&gt;

&lt;p&gt;That doesn't mean Docker is bad. Docker is great when you need it. I just don't think every JavaScript app should have to start there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running the app as an app
&lt;/h2&gt;

&lt;p&gt;Tako runs your app as a normal process.&lt;/p&gt;

&lt;p&gt;For JavaScript and TypeScript apps, there is a small &lt;code&gt;tako.sh&lt;/code&gt; SDK. Your app tells Tako when it is ready by reporting the port it bound to. Then the server proxy can safely route traffic to it.&lt;/p&gt;

&lt;p&gt;In production, app instances bind to &lt;code&gt;127.0.0.1&lt;/code&gt; on an assigned port. Tako's proxy sits in front, handles the public route, and forwards requests only to healthy instances.&lt;/p&gt;

&lt;p&gt;That setup makes a few things pretty simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;rolling deploys can start a new instance before removing the old one&lt;/li&gt;
&lt;li&gt;low-traffic apps can opt into scale-to-zero&lt;/li&gt;
&lt;li&gt;logs and status can be attached to the process Tako actually started&lt;/li&gt;
&lt;li&gt;the app doesn't need to know what public port or hostname it lives behind&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The config is meant to stay boring too:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="py"&gt;name&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"my-app"&lt;/span&gt;
&lt;span class="py"&gt;runtime&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"bun"&lt;/span&gt;
&lt;span class="py"&gt;preset&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"tanstack-start"&lt;/span&gt;

&lt;span class="nn"&gt;[build]&lt;/span&gt;
&lt;span class="py"&gt;run&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"bun run build"&lt;/span&gt;

&lt;span class="nn"&gt;[envs.production]&lt;/span&gt;
&lt;span class="py"&gt;route&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"my-app.example.com"&lt;/span&gt;
&lt;span class="py"&gt;servers&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s"&gt;"main"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There's more available when you need it, like multiple environments, multiple servers, build stages, release commands, secrets, and scale settings. But the basic shape is just "here is my app, here is where it should run."&lt;/p&gt;

&lt;h2&gt;
  
  
  Local dev should not be localhost soup
&lt;/h2&gt;

&lt;p&gt;One thing that kept bugging me was local development.&lt;/p&gt;

&lt;p&gt;Most deploy tools stop at production. That's fair, but it leaves you with the classic mess:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://localhost:3000
http://localhost:5173
http://localhost:8787
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then one day you need secure cookies, OAuth callbacks, service workers, a second app, or a webhook tunnel, and suddenly your local setup has its own personality.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;tako dev&lt;/code&gt; tries to make local apps feel like real apps:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;tako dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gives your app a &lt;code&gt;.test&lt;/code&gt; domain with HTTPS, DNS, and a local proxy. So instead of remembering a port, you open something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://my-app.test/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The goal isn't to be fancy. The goal is to remove the tiny paper cuts that make local dev drift away from production.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tradeoffs
&lt;/h2&gt;

&lt;p&gt;This isn't a universal tool.&lt;/p&gt;

&lt;p&gt;If your app needs heavy OS-level isolation, containers might be the better answer. If your team already has a container pipeline that works, you probably shouldn't throw it away for fun. If you're running a bunch of unrelated stacks with weird system packages, Docker is a very reasonable boundary.&lt;/p&gt;

&lt;p&gt;Tako is more opinionated. It focuses on common web app runtimes like Bun, Node, and Go, then tries to make that path fast and calm.&lt;/p&gt;

&lt;p&gt;That tradeoff is the whole point.&lt;/p&gt;

&lt;p&gt;I don't want to rebuild a container platform. I want a small tool that makes a VPS feel useful again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The project is open source here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/lilienblum/tako" rel="noopener noreferrer"&gt;https://github.com/lilienblum/tako&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Docs are here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://tako.sh/docs" rel="noopener noreferrer"&gt;https://tako.sh/docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The quick version looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://tako.sh/install.sh | sh
tako init
tako dev
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And when you're ready to put it on a server:&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;sudo &lt;/span&gt;sh &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://tako.sh/install-server.sh&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
tako servers add &amp;lt;host-or-ip&amp;gt;
tako deploy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's still early, but it's already scratching the itch I built it for: shipping normal web apps to normal servers without turning every deploy into infrastructure cosplay.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>devop</category>
      <category>opensour</category>
      <category>selfhosted</category>
    </item>
  </channel>
</rss>
