Skip to content

roxi-t/Cangrow-Project

Repository files navigation

Roxana-Teymoori Student of Saadi school

CanGrow-project

About this Project

This repository hosts the configuration files for a scalable WordPress deployment using Docker. It includes docker-compose.yml for orchestrating multiple containers and nginx.conf for setting up Nginx as a reverse proxy. The setup features a MariaDB replication with a master-replica architecture to enhance data availability and load balancing. Additionally, ProxySQL is configured to manage database traffic, routing write queries to the master and read queries to the replica. This project aims to provide a robust, scalable environment for running WordPress with optimal performance and reliabil

How to Run

  1. To run this project in the folder /Cangrow-project/section3, follow the steps below:
  2. Clone the project from your personal GitHub repository or the main project repository using the following command in your terminal:
git clone https://github.com/roxi-t/Cangrow-Project.git

a directory named Cangrow-Project has been created

  1. Go to the project directory :
cd Cangrow-Project
  1. Use Docker Compose to start the service in detached mode:
cd  Cangrow-Project/section3
  1. And run the project with this command
docker-compose up -d

At the End

You should now be able to access your WordPress website at http://localhost or your server IP address. You will also have access to the database where you have previously stored the desired data.

About

"This repository hosts Docker configurations for deploying a scalable WordPress site using Nginx and MariaDB with replication setup for enhanced performance and reliability."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors