Roxana-Teymoori Student of Saadi school
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
- To run this project in the folder /Cangrow-project/section3, follow the steps below:
- 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.gita directory named Cangrow-Project has been created
- Go to the project directory :
cd Cangrow-Project- Use Docker Compose to start the service in detached mode:
cd Cangrow-Project/section3- And run the project with this command
docker-compose up -dYou 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.