O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Deployment on Our PaaS

In the previous chapters, we went from setting up our PaaS in a very hands-on manner to a "hacked-together-automated" way by combining tools such as Crane and nginx-proxy. One part is still missing—how to deploy your code.

In this chapter we will go through the following topics:

  • The problem with our current setup
  • The tools/services available
  • Dokku— mini-Heroku
  • Setting up a WordPress app with Dokku

The problem with our current setup

Our current setup consists of three containers: a WordPress container, a MySQL container and a data volume container, tied together with Crane.

The main problem with our current setup using a VOLUME container as file storage is that we need a way into the volume to edit files. As of now, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required