Skip to content
Mohamed Amine R.

lab

Cloud-1

Infrastructure automation for a containerized WordPress stack, with a local lab and a deployment guide.

My role
Prepared the deployment guide and verification workflow for the local stack.
  • Ansible
  • Docker Compose
  • Caddy
  • WordPress
  • MariaDB

Architecture

Ansible templates the Docker Compose stack. Caddy handles ingress, WordPress runs in its own container, and MariaDB keeps application data in a persistent volume.

Client

  • Browser

Edge

  • Caddy

    HTTP routing and TLS

Services

  • WordPress

  • phpMyAdmin

Data

  • MariaDB

How the parts connect

  • Browser to Caddy
  • Caddy to WordPress
  • Caddy to phpMyAdmin, allowlisted admin access
  • WordPress to MariaDB
  • phpMyAdmin to MariaDB

Local verification

The Compose lab exercised internal TLS, database persistence across container restarts, and access controls for phpMyAdmin. VM deployment and public TLS are pending.