WordPress site using Docker Compose

Step – 01: Create a VM on GCP
Step – 02: Select the Infrastructure for the VM
Step – 03: Select the operating system and storage
Step – 04: Add Firewall rule
Step – 05: Add FQDN to the VM – DNS is maintained on Cloudflare
Step – 06: Connect to the VM instance using terminal
Step – 07: update package cache
[code lang=bash]
$ sudo apt-get update -y
[/code]
Step – 08: Install Docker on Ubuntu 16.04
Use the following link to install docker
Go To: Install Docker on Ubuntu 16.04 LTS
Step – 10: Install Docker Compose on VM
use the following link to install docker-compose
Go To: Install Docker Compose
Step – 11: Create a Project Structure
[code lang=bash]
$ cd
$ mkdir skydevops-site && cd skydevops-site
[/code]
Step – 12: Create a docker compose file
Step – 13: Start the containers
Step – 14: Install Nginx for reverse proxy
[code lang=bash]
$ sudo apt-get install nginx -y
[/code]
Step – 15: Add skydevops site to Nginx
Step – 16 : Restart Nginx
[code lang=bash]
$ sudo systemctl restart nginx
[/code]
Step – 17: Access the WordPress Site
Categories
Containers, Database, docker, docker compose, docker-compose, Linux, MicroServices, MySQL, nginx, PHP, WebServers
Right here is the right blog for anyone who really wants to understand this topic. You realize so much its almost tough to argue with you (not that I really will need to…HaHa). You definitely put a new spin on a topic that’s been discussed for a long time. Great stuff, just excellent!