Deploy WordPress on Docker

Learn how to go from zero to hero by spinning up a new virtual machine, installing Docker & deploying WordPress in 15-minutes!

Installing Docker

$ curl -sSL https://get.docker.io | bash
$ pip install docker-compose

Installing certbot & HAproxy

$ sudo apt-get update
$ sudo apt-get install -y certbot haproxy

Generate SSL Certificate

$ certbot certonly -d <yourdomain.com> -d <www.yourdomain.com>

Source Code Repositories in this example: