The Dokku Trap
edouard.peller.in
edouard.peller.in
Don't throw away the convenience Dokku brings to the table :-)
Y'a t'il une raison pour laquelle puka n'a pas de site en anglais?
The marketing website of puka is only in french right now (this will be our primary market), but the application itself is fully translated in english. You'll find a link in the top right corner "Accéder à l'application".
> You may also wish to use a specific version of a buildpack, which is also simple
# using v87 of the nodejs buildpack
# replace APP with the name of your application
dokku config:set APP BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs#v87
http://dokku.viewdocs.io/dokku/deployment/buildpacks/Sure there is that, but nothing fundamental about Dokku is different-- its just newer.
Other than the fact that you happen to be running dokku, nothing about this problem is dokku-specific, and you would have hit the same issue with heroku.
Seems like you failed to RTFM
[1] https://github.com/gliderlabs/herokuish/tree/master/buildpac...
So obviously, my recommendation is to switch to Cloud Foundry. Each release has a single, fixed set of components which are predictable. You can also upgrade buildpacks independently of the overall CF installation.
While trying CF, I first had to get the BOSH cli, then vagrant, then create a VM for the BOSH director, then I had to generate a CF manifest for BOSH (which apparently tries to install Ruby gems, and so fails without root), then out of the sudden a new concept - "stemcells" - appeared, so I choose one that seems appropriate. I couldn't continue, since by then my drive was full (I only had 4GiB free, and though it'd be enough for a bare installation). And at then end, it seems like one gets a system with a whole bunch of moving parts at various layers.
I don't doubt that CF is a good tool, but moving from Dokku - essentially an extremely thin layer over Docker - to it is like upgrading directly from a 12v solar panel in your backyard to a small nuclear reactor.
So there are two alternatives: first is to use a hosted CF. There are several. My company has one in Pivotal Web Services. IBM BlueMix is a Cloud Foundry instance. There are others around.
The second alternative is MicroPCF. It's a new project specifically intended to allow you to run a full CF on your laptop.
Yeah, but that's my point: I want a PaaS for the ease of deployment and upgrade, but I don't actually need a distributed system; all our servers work isolated from each other, only receiving occasional commands from our office.
Unfortunately, it seems I have to choose between barebones deployment helpers like Dokku and systems designed to deploy Twitter and Whatsapp. We're more like WPEngine - where's the PaaS for them?
I'll look into MicroPCF, but is it production-ready? Sounds too focused to the development phase.
It sounds like your problem is more IAASy. For which you might tinker with BOSH. Or if you just need to run remote commands, there are a lot of systems that'll piggyback on SSH for you.
The same exact issue would have been seen with Cloud Foundry.
Dokku is currently meant to manage the application deployment lifecycle, not everything related to server management.