Projects with this topic
-
-
Section 4: DevOps
Download and extract Wordpress files to where the host directory is bound to the container. Initialize a Git repository for the web directory. Once Wordpress is installed and configuration is created, push the changes to the remote repository. Create a CI/CD pipeline using GitLab CI that pulls code from a repository, and downloads the Wordpress files to the new directory installation.
Section 5: Infrastructure as Code (Terraform)
Objective: Automate the provisioning of Docker-based WordPress infrastructure using Terraform. Install Terraform on your system. Define infrastructure in code: Create Terraform configurations for: A Docker network for container communication. A MySQL/MariaDB container with persistent storage. An Apache/PHP container with WordPress bind-mounted volumes. Ensure containers are linked on the same network. Use CI/CD to validate your Terraform code Initialize and apply the Terraform configuration to deploy the infrastructure. Automatically apply Terraform changes in a controlled environment. Verify that WordPress is accessible and can connect to the database. Modify and reapply: Update the Terraform config (e.g., change PHP version or MySQL config). Run terraform apply to enforce the new state. Run automated tests (e.g., check if WordPress is accessible, DB connectivity). Destroy resources using terraform destroy for cleanup.
Updated -
Project to practice programming with Angular, Docker and Docker-Compose, GitLab CICD.
The course is taken from OpenClassroom
Updated -
Updated