This repository contains the necessary files and documentation for deploying some of the CARS web applications.
Docker and docker compose are both required for this project. Docker compose V2 is what needs to be installed and docker version 22 or higher. Everyting is run and tested only on CentOS 8/9 Stream.
CentOS 8/9 Stream
Red Hat Enterprise Linux 8/9 Docker version 22 or higher
Docker compose V2
This project is able to deploy and migrate WordPress websites to docker containers. It generates a .env file with all the necessary information, a docker_compose file, and an apache configuration file. Using the docker_compose it deploys two containers, one for WordPress and one for MySQL. Follow the steps below, to deploy or migrate a WordPress website.
Before you begin, first you must clone the repository:
git clone -b development https://github.com/CARS-IT/Web-Deployment.git && cd Web-Deployment
Run the main project script and follow the instructions for deploying or migrating a WordPress website.
sudo ./web-deployment.sh
All contributions to the Web-Deployment project are welcome! Here are some ways you can help:
- Report a bug by opening an issue.
- Add new features, fix bugs or improve documentation by submitting a pull request.
Please adhere to the GitHub flow model when making your contributions! This means creating a new branch for each feature or bug fix, and submitting your changes as a pull request against the main branch. If you're not sure how to contribute, please open an issue and we'll be happy to help you out.
By contributing to the Web-Deployment project, you agree that your contributions will be licensed under the MIT License.
Web-Deployment is distributed under the MIT license. You should have received a copy of the MIT License along with this program. If not, see https://mit-license.org/ for additional details.