Note
This project has been created as part of the 42 curriculum
A Docker-based infrastructure project deploying a secure WordPress stack.
- Build a small, secure, reproducible infrastructure using Docker.
- NGINX: TLS termination + reverse proxy
- WordPress: CMS application
- PHP-FPM: PHP runtime for WordPress
- MariaDB: database backend for WordPress data
- VMs: run a full OS per instance → heavier and slower.
- Docker: shares the host kernel → lightweight and fast.
- One service per container improves modularity and reproducibility.
- Secrets: sensitive data (passwords, usernames, keys).
- Environment Variables: runtime configuration values.
- Bridge (default): isolated network, requires port mapping, recommended.
- Host: shares host network, no isolation, no port mapping.
- Volumes: managed by Docker, persistent, portable, production-safe.
- Bind Mounts: direct host mapping, useful for development.
Make sure the following tools are installed:
- Docker
- Docker Compose
- Make
- Fill in the required values described in
USER_DOC.mdfor:/secrets.env
Add a local DNS override to /etc/hosts:
127.0.0.1 ${DOMAIN_NAME}git clone https://github.com/etherstep/inception.git
cd inception
make # buildmake up # run services
make down # stop services
make clean # remove containers and images
make fclean # wipe all data
make status [service...]
make logs [service...]