joshstrange 6 days ago

Dokku is nice and I used it for a while but recently I've been using CapRover [0] and been pretty happy with it. I only use it on 1 host but it supports multiple. It also has 1-click installs for the usual suspects (drupal/wordpress/etc) and things like spinning up a DB is easy. You can also define a docker file in your repo that you instruct it to build and use. HTTPS is a button click and it automatically sets up virtual hosts for you `<your app name>.<base url you configured>`. It's great for quick prototyping and to get a personal project online.


  • 999900000999 6 days ago

    Absolutely love Caprover, used it when it was CapDuckDuck.

    I basically just lost interest, Firebase does everything I need ultimately. But I'd still argue it's the easiest way to deploy a side project!

  • sbecker 6 days ago

    Caprover is nice and convenient but security wise, only a single password field is required on the admin console. (See demo here: Given this it would be nice to at least make the web admin console only accessible via an IP whitelist, but last time I used it I did not find an easy way to do that.

    • indigodaddy 6 days ago

      Can you not firewall the relevant admin webui port?

      • wilsonfiifi 6 days ago

        The admin webui runs on the captain sub-domain so i'm not too sure if that can be firewalled.

        • indigodaddy 6 days ago

          How does any of that matter? Firewall the relevant port so that it only allows your connecting IP.

          • paulgb 6 days ago

            I haven’t used it but it appears to serve everything over the same port. You could block it with a reverse proxy but not with a firewall or layer 4 proxy.

    • jtsiskin 6 days ago

      Make a 256 bit password. Problem solved?

  • conradfr 6 days ago

    I use it and am globally happy with it, the biggest downside being the non-zero downtime deployment.

    They say it's because it uses Docker Swarm, I don't know if that's true.

  • hippich 6 days ago

    Nice find! What is your impression on reliability? I ended up using dokku in production, but I really like what caprover offers.

    • joshstrange 6 days ago

      It's been pretty reliable for me but I've never used it in production. It's more of a testing grounds-type tool for me or a way to see my work online at a stable URL (which helps motivate me to continue working on something). That's not to say it can't handle production (the multiple hosts aspect certainly indicates it means to support that use-case), just that I can't speak on it.

      On thing that's cool (to me) is that I once borked an update of the CapRover admin and while I couldn't get into the dashboard all my projects kept humming along without a care in the world because they were all in their own docker containers. I thought that was pretty neat (all of CapRover runs inside of containers as well and seems to be independent of apps it manages/monitors.

  • sureglymop 6 days ago

    Tried both and like Dokku more. Might make a nice web interface for it for myself.

    • josegonzalez 5 days ago

      Dokku Maintainer here:

      We have an official (paid, one-time fee) web ui here: . It's under active development.

      There are others (ledokku, wharf, bullet, etc.) that folks in the community have developed/maintained, though I cannot comment on them as I haven't used them for more than 5 minutes.

    • tough 6 days ago

      Checkout ledokku, I still prefer caprover seems more robust at this point. But dokku+ledokku are cool too for self-hosting needs

AndrewOMartin 6 days ago

I came to the comments first to answer "what's the catch?". There were no comments at the time so I went to the website. This line near the top seems particularly fair and believable.

> Own your own PAAS. Infrastructure at a fraction of the cost. Powered by Docker, you can install Dokku on any hardware. Use it on inexpensive cloud providers. Use the extra cash to buy a pony or feed kittens. You'll save tens of dollars a year on your dog photo sharing website.

  • mdasen 6 days ago

    For me, one of the big catches is that you have a single point of failure. Dokku doesn't run over multiple VMs you have. It's on a VM. If that VM goes down, you're down.

    I think one of the selling points of Heroku is that if the box you're running on goes down, your service will just be started on another box and traffic will be routed there and you don't need to do anything.

    • ukoki 6 days ago

      If you want a much more highly available open source Heroku, there is Cloud Foundry which is used as the basis for a few public PaaS like IBM Bluemix and SAP Cloud Platform. The smallest HA set up is about 50 VMs though, and it's complicated to deploy so not really worth it if you have fewer than 1,000 or so developers to support.

      • Bombthecat 6 days ago

        Super complicated, tried it several times over the years.

        One would think it will get better in newer versions.

        But nope..

        Didn't try it the last 2 or 3 years though

    • jeremyjh 6 days ago

      If the box you are running in is a VM, the VM host is already providing hardware redundancy. It’s not full redundancy but in practice it’s sufficient for dog photo sharing sites.

      • judge2020 6 days ago

        As far as I know only Google Cloud does ‘hardware redundancy’[0]. I’ve had single-instance outages in AWS and they don’t seem to really care if something goes wrong with your instance, although maybe they have more maintenance events than they let on and they might happen transparently to the user thanks to some form of live migration.


        • jeremyjh 6 days ago

          I’m not talking about live migration - the instance will go down and there will be a brief outage while the instance restarts on another hypervisor. The same is true of a single dyno Heroku app.

          • electroly 6 days ago

            For AWS, nothing involved there is automatic; you have to stop it* and then restart it. It will just stay broken until you restart it yourself. "Brief outage" suggests it might be automatic but in AWS it's not.

            * Possibly multiple times. Instances on degraded hosts have a tendency to get stuck and you have to stop, and then stop again to force stop it, and then sometimes even that doesn't work and you have to just wait.

            Source: have received lots of "EC2 Instance Retirement" emails

            • mnd999 6 days ago

              This is what autoscaling groups are for, right? If set the autoscaler to keep one instance running it will spin another one when they retire the one you’re using.

              • dijit 6 days ago

                “Weeks of reading AWS documentation will save you hours of learning about infrastructure”

                the topic is here is ease of use.

                Comparing Heroku to VMs and correctly configured ASGs is fine for me as a sysadmin, but they’re not targeting the same simplicity.

              • electroly 6 days ago

                Yep, and if you know enough to set that up, you probably don't need Dokku.

                • tekknik 5 days ago

                  An ASG isn’t nearly as difficult as setting up, securing, and running dokku. There’s even examples and such for setting up the ASG. If you get stuck, all accounts have free support and stack overflow is a few clicks away. The idea that one needs to switch to dokku to avoid setting up ASGs is just silly.

                  • electroly 3 days ago

                    My suggestion was the opposite: don't use Dokku, because you probably don't need it if you're capable of dinking around with AWS.

    • zrail 6 days ago

      Dokku has official support for k8s and Nomad if you want multiple-host support. The caveat, of course, is that you have to run the cluster.

      • mr_luc 6 days ago

        Oh, hey! I used Dokku back in the ... I want to say 2012-2013 ? and missed multi-node stuff a bit (nothing that couldn't be scripted around) so this looks cool.

        I do see that it shouts 'EXPERIMENTAL!', so I guess it's 'experimental, but official'.

        • josegonzalez 5 days ago

          Dokku Maintainer here:

          The warning there is more that if the scheduler plugins land in the core (which I hope to do some day), the official usage may change.

          For instance, I'd love to abstract our ingress plugin such that it plays nicely with Kubernetes and Nomad (Nomad in particular, since there is no notion of ingress there at all) but that may mean that the ingress controlling functionality in the Kubernetes plugin changes signficantly.

          Dokku _also_ has no notion of autoscaling at the moment, though both Kubernetes and Nomad have autoscaling tooling. It would be great to expose this officially somehow vs the plugin-specific method that is exposed in Kubernetes.

          Note that at least the Kubernetes plugin is in active usage - even in at least two commercial products being actively sold.

    • josegonzalez 5 days ago

      Dokku maintainer here.

      The catch you mentioned has a few caveats:

          - You can host the data for the install on a mounted volume, and replace the underlying instance at will (if you're using something like AWS or GCP).
          - We support alternative schedulers (Kubernetes and Nomad, with others like Compose, Lambda, and Swarm coming soon). In the case of using an alternate scheduler, your apps won't go down if the build server goes down.
          - Since it is self-hosted, your Dokku install's uptime is pegged to your infrastructure's uptime. So yeah, if you are installing it on a Raspberry PI whose uptime is decided by a light switch that is next to your kitchen and you accidentally switch it off every once in a while due to not being able to see the switch at night (very specific example, I know), then yeah, you'll be down for a little while.
    • vagrantJin 6 days ago

      Redundancy is kinda your responsibility...

      I may have read your comment wrong but it would be wholly unfair to expect Dokku to provide everything and the kitchen sink gratis.

      • drusepth 6 days ago

        If a service is marketed as an "alternative" to any competitor, I think it's generally reasonable to assume that service covers most of the basic features offered by that competitor.

        I've seen tons of "Heroku alternatives" pop up over the past couple months, but they all seem to have (rather large, IMO) downsides of "it does A and B like Heroku, but not X, Y, and Z" (where again, IMO, X, Y, and Z are typically rather core features like redundancy/failover). I know everyone uses services for different reasons, but the general appeal of Heroku that I've seen has been the basically-zero-devops-ever-necessary-for-anything approach they've taken.

    • evoxmusic 6 days ago

      If you are looking for a HA alternative, Qovery is the one. It's a Heroku like platform running on AWS built for running production workload. It's multi AZ by design.

      (I am co-founder)

      • Nextgrid 6 days ago

        Can it be licensed and run on bare-metal?

  • viraptor 6 days ago

    I've used it on and off. It's ok and I was happy. But it's a fairly thin layer and a leaky abstraction, so I ended up looking at docker logs and firewall rules more times than needed. Unfortunately when things were down, noting the context was not a priority, so I don't have specific issues raised to show.

    • josegonzalez 5 days ago

      Dokku Maintainer here:

      While in some cases it is a quite thin layer - some commands just proxy along to the underlying Docker command + some flags - I'd love to hear more about places where Dokku itself wasn't useful for debugging your deployed system. Please feel more than free to reach out via Discord/IRC/Slack[1] (all three are synced) with more info if filing an issue is a big reach. I'm more than happy to help folks debug live/file issues as a result, as it makes the project much better.


greysonp 6 days ago

Can't recommend Dokku enough. I've been using it for years on a $20 DigitalOcean box. I have a lot of random web projects/tools, most of which I'm the only user, and it's great to have a super simple way to get them online. Enabling HTTPS and assigning a domain are each just a single command.

  • punnerud 6 days ago

    The same here, and that I can host multiple projects on the same server without any additional cost. If I get enough traffic I can always move it to a new server and redirect the DNS (cloudflair)

  • thebiglebrewski 6 days ago

    lol are you me?! exactly the same setup over here

  • zwarag 6 days ago

    How does it differ from portainer?

    • wilsonfiifi 6 days ago

      Portainer is more of a UI for docker and docker containers. But dokku is and actual platform similar to heroku that helps you deploy your apps.

      • dopamean 6 days ago

        Last I used dokku my understanding was that it used Heroku's open source build packs. So it was very much your own hosted heroku. This was at least 7 years ago though.

        • josegonzalez 5 days ago

          Dokku maintainer here:

          Dokku supports a number of methods to deploy apps:

              - Docker images [1]: via `git:from-image`
              - Tarballs [2] (extracting into a heroku-like env): via `git:from-archive`
              - Dockerfile [3]: autodetected using our builder-dockerfile plugin (or selectable via builder:set)
              - Heroku Buildpacks [4]: autodetected using our builder-herokuish plugin (or selectable via builder:set)
              - Cloud Native Buildpacks [5]: autodetected using our builder-nix plugin (or selectable via builder:set)
          Someone in the community hated these options and wrote one for nix[6]. Others are free to do so as well (or even customize our built-in ones through settings or forks).

          Finally, I've also got two builders in the works:

              - lambda: builds a lambda-compatible docker image (and an optional zipball of the code in case you want to deploy that on their official runtimes)
              - compose: builds using docker-compose (for usage with a compose scheduler)
          Dokku has been built with extensibility in mind, so if it doesn't do what you think it should do out of the box, overriding that functionality is fairly straightforward (plugins can be in any language, so feel free to drop golang/shell and use something else if that floats your boat).

              - [1] Build from a docker image:
              - [2] Build from a tarball or zipball:
              - [3] Dockerfile support:
              - [4] Heroku buildpack support:
              - [5] Cloud Native Buildpacks support:
              - [6] Build via nix-build:
          • dopamean 4 days ago

            Very cool dude. Thanks for your work on this. I'll come back to dokku eventually :)

        • Nextgrid 6 days ago

          That's correct and it is still the case.

      • toomuchtodo 6 days ago

        Would portainer be a good fit for adhoc manual execution of Docker containers on a remote host if a UI would be helpful?

        • beninsydney 6 days ago

          I guess it comes down do your preference, it's just a GUI for Docker you can do the same Docker commands and container manipulation with or without it.

    • jbothma 6 days ago

      Specifically, dokku provides

      - configuration management as env vars

      - reverse proxy routing traffic for a given hostname to the correct container, swapping to the new container upon deploy

      - plugin for tls cert generation using letsencrypt

      - zero downtime deploys - it starts and smoke tests a new container before taking down the old one on deploy

      - plugins for running databases and connecting your apps to them

tomatowurst 6 days ago

Is there proper tutorial for people who have never used heroku? I just don't know how to use this because i dont have any experience with heroku.

I'm interesting in self-hosted AWS api compatible solutions.

Parse is also interesting. In fact I discovered that there is a whole new world outside AWS and DO. It no longer makes sense for me to run weekend projects on AWS outright, thats really for large enterprise applications.

What I would love is to be able to deploy my docker images on my "own"cloud running on a dozen droplets/VPS around the world and bill my users at the same rate that AWS is charging. I figure I would be able to undercut AWS significantly with this method.

Storing 2TB on AWS was price shock for me, makes no sense when there are dedicated servers with a ton of storage and bandwidth that I could just use instead of being "serverless".

However, I find it to be a hall of mirrors, wondering if anybody on HN has been in my shoes and how they are handling it. I guess my biggest concerns:

- uptime availability (can I promise close to AWS?)

- security (how do i harden my box/selfcloud and have peace of mind?)

- IAM type of roles/permissions (how do i emulate something like IAM for my team?)

Like the billing from AWS is getting to a point where I feel like we can use bunch of droplets behind some "selfcloud" that manages all these things for me. I'm sure a solution exists, I just often have trouble recalling their names. Dokku makes it easy to remember because it sorta rhymes with Heroku.

  • nickstinemates 6 days ago

    Just use - free tier just works and you can deploy a sample app on a free account in seconds. It will give you a general idea of how Heroku works.

    > It no longer makes sense for me to run weekend projects on AWS outright, thats really for large enterprise applications.

    depending on the type of site, cf workers is ridiculous value. single button availability of your content in every corner of the world and you wont pay a dime

    • tomatowurst 6 days ago

      not sure I quite understand railway, what are they offering? Another AWS on Digitalocean? Would be nice to see exactly what the cpu core/memory/price is.

      aren't cf workers very constrained? like your call has to finish within a second or two for it to make sense and I think AWS Lambda matched their price? I could be confused here.

      • nickstinemates 6 days ago

        > not sure I quite understand railway, what are they offering? Another AWS on Digitalocean?

        they're offering a heroku experience.

        `git push` deploys your code.

        small edit: i added this in a dokku thread(which is amazing, btw) because there is zero setup time. just point to your github repo and it just works.

  • elondaits 6 days ago

    S3 promises 99.999999999% durability and 99.99% availability... I'm not sure regular VPS's give any assurance that your data won't be lost. I assume in case of HDD failure it's up to you to restore data.

  • josegonzalez 5 days ago

    Dokku maintainer here:

    There is a tutorial for using it. It's linked to after you install it for the first time, and is available here[1]. It goes through a few common tasks, though by no means is a "kitchen sink" tutorial.

    In regards to your specific questions:

        - I've answered this elsewhere, but your uptime is defined by your host uptime (and any mechanisms for backup/restore you have setup). Some hosting providers (AWS/GCP) provide migration of hosts that die, some have block storage (Azure/AWS/DO/GCP), while others (Rackspace) provide backups of specific directories. As with anything you run and maintain, very heavy YMMV here, but I'm happy to answer questions[2] specific to your needs.
        - Dokku runs very few/no persistent binaries (atm only an optional event-listener that restarts apps if it detects a web container has changed it's IP address), so the attack vectors are your app and anything else you are running that exposes ports externally (SSH is the big one). I defer to others on container security, but our default Herokuish (and Pack) images are built to run processes as non-root users, so that should provide _some_ level of isolation. Container security is a big space, so I don't want to write something here that will be outdated in three seconds or is just plain wrong. If you have concerns about specific things in the project, please get in touch[2].
        - I've used metadataproxy[3] to lock down IAM roles on a per-app basis (with a custom plugin injecting the correct container env var for each app). If you need to lock apps to specific users, there is the community dokku-acl[4] plugin. I'm also working on team management support in Dokku Pro[5] which will be a bit more familiar to users of Heroku.
        - I know of a few users using our kubernetes plugin[6] (automated via terraform) against mostly default Kubernetes clusters in Digitalocean and AWS. If the Dokku host dies, they just lose the ability to deploy, but can restore access fairly quickly. Everything else just kinda lives out there on their cluster.
    Feel free to reach out[1] and I'll try and answer any specific concerns :)

        - [1] Official tutorial:
        - [2] Ways to get in touch:
        - [3] metadataproxy:
        - [4] dokku-acl:
        - [5] Dokku Pro:
        - [6] Kubernetes Scheduler plugin:
yebyen 6 days ago

There's also Deis Workflow (Hephy Workflow)

For those worried about a Single Point of Failure, you can't have your cake and eat it too. Docker and Dokku is a single point of failure when you build directly on it, I guess. Kubernetes mitigates that.

We're still here, keeping the tires on. I haven't personally tested K8s 1.24 with Workflow yet, but we are actively seeking maintainers on all of the cloud vendors.

If you find that something is broken and want to see it fixed, talk to me on Slack. I'm aware of at least Azure that has broken their Bucket Storage API since Workflow was originally published by Deis, and it hasn't been quite fixed yet.

Documented support for Google Cloud and AWS are both extant as well, although I've heard one person call into question whether Google Cloud storage will work out of the box, or if it still needs upgrades. We'd like to add DigitalOcean support as well, I already know it basically works, we just need to add documentation and probably also give it a quick spit-shine and polish.

Dokku on the other hand is less heavyweight and does not require as much work for maintenance, since it does not have to be decentralized or protect against any SPOF. It's a wonder that more people do not want to use this. I've heard of at least one more Deis Workflow fork in the wild, possibly in better or worse states of maintenance than Team Hephy, but if you are looking to get off of Heroku then you could certainly do much worse.

We do need volunteers as we do not have time to maintain everything by ourselves, (come talk to us on the Slack if you're interested in joining the fun!)

  • You-Are-Right 6 days ago

    404 on docs: monitoring and auto failover might be something you should look into.

    • yebyen 3 days ago

      Thank you. The docs all work, but some paths through the docs do not work on certain form factors (I think this is a mobile issue)

      Well, the docs did work, (they're 100% down now...)

block_dagger 6 days ago

I’ve run high-ish traffic production sites on Dokku for years. If you need just one server, it’s a dream for Rails/PG/Redis setup. Amazing what reliability it provides. Almost completely written in bash!

  • RileyJames 6 days ago

    Awesome. I’ve always worried what it can handle, and therefore only run projects on it until they were more serious. But in that context, I’ve never had a problem (and run them longer than that anyway). To around the 50-100k user per month. Mostly reads tho.

    Keen to hear what you’re running.

  • juanse 6 days ago

    Could you share more, please? I use the very same stack and I think with the biggest VPS available right now I will have more than enough. It is basically a simple CRUD application.

    Could you share how big the VPS yo used is (cores/Ram) and what traffic you got to manage with that?


    • chasd00 6 days ago

      Not the parent but to me dokku shines when putting multiple apps on a single server and the fact that deploying is a git push. Letsencrypt and other plugins are icing on the cake.

      If you have one app then dedicate a server to it and run it right on the operating system. Maybe have 2 and a load balancer so you can do prod deployments with no downtime. The point is get dokku, docker, and all that abstraction between the network card and your app out of the way.

Gys 6 days ago

Yes, I love Dokku and like to use it as an alternative for some of my Heroku apps. However, the thing I miss most is Heroku including a nice dashboard showing several metrics for my Golang apps (memory usage, go-routines, etc) over time. Heroku has that out of the box and that makes it very convenient.

  • sureglymop 6 days ago

    I just deployed netdata also in Dokku.

  • claudiug 6 days ago

    how difficult will be to build a basic tool for this case?

    • viraptor 6 days ago

      Not connected to dokku, but you can construct this from:

      telegraf - report the host / process metrics

      opentracing - instrument the application itself with tracing, with some pre-built libs like

      tempo - collect the traces

      Loki - collect the logs

      influxdb - collect the metrics

      grafana - display it all

      It's not too hard once you set it up... but as you see there's a lot of elements to it.

      • yebyen 6 days ago

        Congratulations, you all just suggested re-inventing Deis workflow (with a few additional pieces) :)

        There are a lot of elements indeed,

        This is classic literature:

        It is much easier to just use it than to try and re-invent your own:

        I cannot guarantee the cloud provider bits all work, I don't use them so I don't maintain them, but if you have Kubernetes with persistent disk provided, which any managed Kubernetes can most certainly do, it's easy enough to hook up generic Minio (which has the added benefit of working just as well on bare metal hosts), and I'm certain that does work as I use it.

        • viraptor 6 days ago

          > It is much easier to just use it than to try and re-invent your own

          Now listen buddy... That CV is not gonna pad itself, ok?

          Seriously though, if you have time and curiosity, I'd recommend putting together a monitoring stack by hand once. There's a lot to learn from that experience.

          • yebyen 6 days ago

            My go-to stack is Prometheus and Grafana with kube-prometheus-stack Helm chart for Kubernetes.

            I'm sure I'm not configuring it well.

            There are too many leaps I couldn't follow directly in how to make the config, and there's something about how arrays merge in YAML that makes it harder to write a config like this in Helm... so there is a lot of what I've written here that shouldn't need to be in my own config, because they are the standard default alerts, but I wound up having to include them to make my one extra alert join the rest (and this is my excuse for why it is several hundred lines long, when in reality it's mostly stock.)

            This config goes so far as making alerts to Slack with Alertmanager that work out of the box!



    • Gys 6 days ago

      A golang app exposes several metrics by default already. A common way is using Prometheus to collect the data and use Grafana to create a graphic dashboard. But it takes some configuration and needs those services running somewhere. Not something I want to spend much time on.

mardix 6 days ago

Similar to Heroku deploy flow, checkout Sailor, a tiny PaaS to install on your servers/VPS that uses git push to deploy micro-apps, micro-services, sites with SSL, on your own servers or VPS.

wilsonfiifi 6 days ago

Dokku is an excellent Heroku alternative. If you have the means, please support the project by paying for Dokku Pro [0]


  • chasd00 6 days ago

    I didn’t know this existed (probably because my dokku setip had been running for years and I haven’t been back to the website). I will be throwing some bread your way:)

eric4smith 6 days ago

Dokku is amazing.

The single point of failure though, is something people worry too much about. If you are serious about what you host, you do need to have another host ready to go.

Majority of workloads can be down for a few hours without customers worrying anyway.

We actually use it for hosting quite large workloads, but we do have a few bar e metal hosts we manually provision different services across. At a moment's notice we can quickly push the app to a different server and would be down for a few tens of minutes at most, minutes normally.

I just don't get the expense of Heroku just because your (in reality) non-essential workload can't be down for a few seconds.

VWWHFSfQ 6 days ago

Did they ever figure out the scaling problem or is it still just "one web dyno and that's it"?

  • josegonzalez 5 days ago

    Dokku maintainer here:

    There are both Kubernetes[1] and Nomad[2] plugins. I'm also building schedulers for AWS Lambda, Compose (which I guess also sorta provides Azure ACI and AWS ECS support), and Swarm.

    You can also scale individual process types (so anything in your Procfile) via our `ps` plugin[3]. All plugins should support this, so you don't need to learn a new set of commands for alternative schedulers.

    - [1] Kubernetes Scheduler Plugin: - [2] NomadScheduler Plugin: - [3] Process Management:

    • VWWHFSfQ 4 days ago

      Thank you! This is great

  • freen 6 days ago

    You can put dokku in front of different schedulers, kubernetes being one of them.

  • bigfudge 6 days ago

    It’s still single machine l, but afaik you can run multiple dynos, and can certainly let run multiple apps and separate web/worker dynos.

dgb23 6 days ago

When it says free heroku alternative that runs on a single host/vps, then I assume the file system stays durable (as opposed to ephemeral). Is that correct?

  • dzogchen 6 days ago

    Yes that is correct. You can mount directories like normal Docker.

RileyJames 6 days ago

Been using it a year or so now. As my B server. $40~ on DO, that I ram all my side projects onto.

From a dev perspective, it’s been awesome.

I have zero monitoring on it, so I have no idea if users love it. But analytics look good.

Either way. Impressed. And appreciate all the efforts behind the project.

Edit: Rails, pg, sidekiq, etc.

thomasfedb 6 days ago

Have been using Dokku in (small scale) production for years and absolutely love it. Was also recently pleasantly surprised to see that Dokku supports ARM... so looking forward to trying it out on my RPi4 next week.

nasmorn 6 days ago

I have used it quite a bit. What I hate about it is that it runs on my single machine and the underlying system updates feel a bit dangerous to do. Also at one point it would endlessly crash after adding another worker to a project and there is no way to debug it easily. I moved almost all the projects to DO Kubernetes now. I had written my own dockerfiles anyways since it means faster deploys. The fact that deployment goes through CI is more of a bonus. The Setup is more involved though

juanse 6 days ago

I think with moderns and dedicated VPsS this can work for a very long way.

Hetzner offers 48 dedicated vcores/192 GB RAM in a single machine for less than 500€/month. I can totally see many business working for years within these boundaries. Also, not every company need Google-grade high availability.

vanilla 6 days ago

We have been using it for our internal dev and test environment.

I was very disappointed that it did not have tcp/udp proxy support. Fortunately the plug-in system allowed us to extend this functionality in a day.

Dokku is very nice for this use-case. No need to have a complicated kubernetes setup.

  • sameOld88 6 days ago

    > No need to have a complicated kubernetes setup.

    I’ll never understand why one stacks config syntax and semantics is seen as complicated while another stack of gigs and gigs of state is not.

    A Linux host that pulls down a web server via its package manager is gigs of special state too. Where’s the simplicity? It’s no less complicated, maybe more familiar.

    There’s way too much romantic and poetic day dreaming about what it is we do in IT.

    • sureglymop 6 days ago

      You're right. But it is a little harder to get kubernetes up and running with a load balancer and your own domain. Obviously not for people who are already familiar with it..

nanope 6 days ago

Why would I use this over say minikube + ingress or just plain Docker + Caddy?

  • josegonzalez 5 days ago

    Dokku Maintainer here:

    You can certainly roll your own setup and get the minimal functionality _you_ need. Thats the general "build vs buy" question.

    Dokku itself comes with a ton of functionality and is actively developed separate from your app. It's been built for thoughtful extensibility (one person in this story mentioned adding TCP/UDP support in a day, as an example) so if it doesn't do what you want, you can add it. We also provide a "curated" experience that handles things based on years of working on other deployment tools (and not just simply cloning the Heroku CLI and experience, though it has had a very deep influence). If our workflow and experience are what you want, its there today.

    With something you build/maintain, the system is often simpler. Maybe one or two tools with a couple hundred lines of code, all fairly grokable. If you need to extend it, you know exactly where and can do so. In fact, thats how a lot of Dokku alternatives come out - someone didn't like our codebase or setup and decided to write something else[1]. Building your own deployment stack is often how most companies start - roll your own against tooling that is close-by or familiar.

    The unfortunate thing is you now own that experience, so if you need functionality, you need to build it, which can be distracting from your actual business goals (unless you're a deployment tooling company, in which case this totally makes sense!). Would you rather spend 10 hours working on a feature for your customers or hacking together a version of review apps? If this is for your own home cluster, maybe that makes sense, but even then, I'd assume most people _should_ just want to deploy their app and move on vs work on that tooling.

    All that said, if Minikube + Ingress and a few yaml templates work for you, go to town. Feel free to try us out if you want a more curated experience :)

       - [1] Piku is an example where they wanted ARM support and we didn't have it yet, while the Caprover developer wanted something that works with Swarm.
chasd00 6 days ago

I’ve been dokku for a long time. I think before there were any plugins. Works just fine for me, but I’m not doing anything out of the ordinary. I run all my hobby and side projects with it on linode.

squiffsquiff 6 days ago

They're just begging for it to be called 'Dooku' when it breaks, aren't they?

  • josegonzalez 5 days ago

    Dokku maintainer here:

    About 5-6 years ago I found out that "Dokku" means something like "crappy" in Telugu (I think). Lots of people seem to refer to it when talking about politics, theaters, and methods of transportation on twitter.

    It's also the name of some famous Korean actor's Dog (I think they got the name from a Naruto character named Dokku). The dog is fairly new, and lots of folks stanning particular actors or actresses on twitter use the word `dokku` in their username.

    Dokku Umarov was also a Chechen mujahid in both Chechen wars. References to him pop up every so often (he died in 2013, _just_ after the Dokku project started).

    IIRC the name "Dokku" is a portmanteau of `Docker` and `Heroku`. How you pronounce it is up to you, though it seems I pronounce it very differently from others (I use "dough" instead of "dah").

    Finally, "Dooku" is not how it's spelled, though lots of people seem to refer to Count Dokku of Star Wars fame :D

evoxmusic 6 days ago

Does dokku supports preview environments like Qovery?

  • josegonzalez 5 days ago

    Yeah you can use preview/review apps via the `apps:clone` command[1]. It can be used in a pipeline to setup custom apps for code branches, allowing folks to stand up custom versions in CI for merge/pull requests[2]. If your deployment platform doesn't support this in some way, I would definitely recommend investigating it, as there is a _ton_ of stuff you can do with this.

        - [1] Cloning existing apps:
        - [2] Github actions review app support:
bullen 6 days ago

The smallest PaaS you have ever seen is one order of magnitude larger than mine:

And I bet you the same goes for performance, mine can share data between cores atomically.