This document explains how to use, manage, and verify the Inception infrastructure as an end user or evaluator.
The Inception stack provides a complete web infrastructure built with Docker.
Service Description
NGINX HTTPS reverse proxy and public entry point WordPress Website and content management system MariaDB Database used by WordPress Redis WordPress object cache FTP Remote access to WordPress files Adminer Web interface for MariaDB cAdvisor Container monitoring dashboard Static Website Additional static web content
From the repository root:
makeThis command builds the Docker images and starts the infrastructure.
You can also use:
make upTo stop the containers:
make downTo stop and remove all containers, images, networks, and volumes (depending on your Makefile implementation):
make cleanOpen your browser and navigate to:
https://mlakhdar.42.fr
Example:
https://mlakhdar.42.fr
Make sure your /etc/hosts file contains:
127.0.0.1 mlakhdar.42.fr
Replace mlakhdar with your own 42 login if necessary.
Access the WordPress dashboard:
https://mlakhdar.42.fr/wp-admin
Login using the administrator credentials defined in your .env file.
Adminer allows database administration through the browser.
Example URL:
http://localhost:8080
If Adminer is exposed on a separate route or port in your implementation, use the appropriate address.
Use the following information:
- System: MariaDB
- Server: mariadb
- Username: defined in
.env - Password: defined in
.env - Database: defined in
.env
FTP allows direct access to WordPress files.
Example connection:
Host: mlakhdar.42.fr or localhost
Port: 21
Protocol: FTP
Encryption: Explicit FTP over TLS (if configured)
Username: defined in .env
Password: defined in .env
Recommended clients:
- FileZilla
- WinSCP
- lftp
Access the monitoring interface to inspect running containers, CPU usage, memory usage, and network statistics.
http://localhost:8081
the bonus static website is enabled, access it using the configured path or subdomain defined in the NGINX configuration.
https://mlakhdar.42.fr/portfolio
All credentials are stored in the .env file.
Typical values include:
- WordPress administrator username
- WordPress administrator password
- WordPress user credentials
- MariaDB user and password
- MariaDB root password
- FTP credentials
Never commit .env files or secrets to Git.
docker compose -f srcs/docker-compose.yml psExpected services:
- nginx
- wordpress
- mariadb
- redis
- ftp
- adminer
- cadvisor
All logs:
docker compose -f srcs/docker-compose.yml logsSpecific service:
docker compose -f srcs/docker-compose.yml logs nginxFollow logs:
docker compose -f srcs/docker-compose.yml logs -fdocker compose -f srcs/docker-compose.yml restart wordpressdocker compose -f srcs/docker-compose.yml exec wordpress bashdocker volume lsdocker network lsCheck:
- NGINX container is running
- Port 443 is exposed
/etc/hostsis configured correctly- TLS certificate was generated
Check:
- MariaDB is running
- Database credentials are correct
- WordPress volume permissions
Verify:
- PHP-FPM is running
- NGINX FastCGI configuration is correct
Check:
- FTP container status
- Passive ports configuration
- Firewall settings
- User credentials
Verify:
- Redis container is running
- WordPress Redis plugin is enabled
- Redis host is set to
redis
make
make up
make down
make clean
make reThis document is intended to help evaluators, administrators, and end users quickly understand how to operate the Inception infrastructure and verify that all services are functioning correctly.