Wanted to learn on how to setup WordPress using docker? Read this tutorial till the end.
Normally, one would set up an Apache (LAMP) or Nginx (LEMP) server to host the WordPress websites. Instead of using a bare server, you also can use docker and/or docker-compose to set up the required software to host your WordPress sites.
A common docker setup is to create a separate container for each service. In this case, you would have at least three containers; Apache/Nginx, PHP, and MySQL/MariaDB.
But I also have seen people putting all services into one single container which is not an appropriate way of using docker in my opinion.Continue reading “How to Setup WordPress Using Docker-Compose”