News for hackers. Stuff that matters.
Re:Dokku: A small PaaS implementation by swanson on Wednesday June 19, 2013 @05:27PM (#5908404)
What are the next steps to take for pushing an app with a database, Redis/Memcache, and scheduled jobs?

Do I just set that stuff up like normal on my box or should I be integrating that with Docker?

Very cool project, would love to get this working and used for internal projects.

Re:Dokku: A small PaaS implementation by progrium on Wednesday June 19, 2013 @05:41PM (#5908512)
Yeah, what Solomon said. For the moment, Dokku is focusing on the same sort of stateless apps Heroku supports and considers running databases a separate concern. For now you can run your databases, etc on the same host, in Docker containers, somewhere else, just out of band from Dokku.

But I'd love to hear your thoughts on how Dokku could better support datastores.

Re:Dokku: A small PaaS implementation by shykes on Wednesday June 19, 2013 @05:47PM (#5908566)
I think it would be really cool to have Dokku "add-ons" which behind the scenes map to the docker containers of your choice :)
Re:Dokku: A small PaaS implementation by progrium on Wednesday June 19, 2013 @05:51PM (#5908592)
Yes. :)

That and more are some exciting things on my mind.

Re:Dokku: A small PaaS implementation by thelarry on Wednesday June 19, 2013 @05:56PM (#5908625)
Isn't running a database in a container sort of bad practice? Especially if it does a lot of io
Re:Dokku: A small PaaS implementation by shykes on Wednesday June 19, 2013 @06:06PM (#5908700)
No. In terms of io and other kinds of overhead, you are always better off running your database on a container rather than a VM. The majority of public cloud database services are either running inside containers, or in the process of migrating to containers.

An additional advantage of containers is that you can start running them on top of a VM, and then migrate to bare metal later, as your infrastructure requirements evolve.

Re:Dokku: A small PaaS implementation by thelarry on Wednesday June 19, 2013 @06:19PM (#5908789)
I think in my head I had container ON A VM. Which just inherits the problem of running it on a VM. Is there a good linux tool for limiting the IO of a process or user?
Re:Dokku: A small PaaS implementation by wmf on Wednesday June 19, 2013 @06:47PM (#5908946)
Networking uses tc and disk uses the block I/O controller. https://www.kernel.org/doc/Documentation/cgroups/blkio-contr...
Re:Dokku: A small PaaS implementation by shykes on Wednesday June 19, 2013 @05:29PM (#5908427)
That's my favorite aspect of the Dokku/Docker combo: your paas doesn't need to be in a walled garden, isolated from the rest of your stack. You can mix containers deployed by Dokku with other containers deployed directly on Docker - in the end they're all docker containers, so you can manage them with the same tools.