This project focuses on containerization and service orchestration using Docker and Docker Compose. It consists of building a secure multi-container architecture including NGINX, WordPress, and MariaDB, all communicating through an isolated Docker network to serve a local HTTPS website.
Overview
- Objective: Build a multi-service containerized web infrastructure
- Architecture: 3 isolated containers (NGINX, WordPress, MariaDB)
- Networking: Custom Docker bridge network
- Security: TLS/SSL configuration for HTTPS
- Data Persistence: Docker volumes for database and WordPress files
- Orchestration: Docker Compose
- Focus: Infrastructure design, container isolation, and service communication
| Service | Role |
|---|---|
| NGINX | Reverse proxy, HTTPS termination |
| WordPress | PHP-based CMS application |
| MariaDB | Relational database backend |
All services communicate exclusively through a Docker network and do not rely on host-installed services.
- Fill in the .env file the required variables (database credentials, domain, etc.)
- Edit the Makefile login variable to match a 42 login
git clone <repository_url>
cd inception/
cd srcs/
cp srcs/envDemo srcs/.env
makeMakefile: Build and orchestration commandssrcs/docker-compose.yml: Multi-container definitionsrcs/requirements: Dockerfiles and service configurationssrcs/.env: Environment variables
https://localhostor
http://<login>.42.fr