This document explains how to use and operate the Inception infrastructure from a user or administrator perspective.
The project provides a containerized web infrastructure running on a virtual machine, composed of multiple independent services managed with Docker Compose.
- Main application
- Served securely over HTTPS
- Backed by a MariaDB database
- Uses Redis for caching
- Web-based database administration tool
- Allows inspection and management of the MariaDB database
- Simple static page served from a dedicated NGINX container
- Independent from WordPress
- Provides file access to WordPress files
- Useful for uploading or managing content
- Prometheus provides a web interface to observe system and container metrics
- Node Exporter collects host metrics internally
From the root of the project:
makeThis command builds all Docker images and starts the containers.
To stop all running containers without deleting data:
make downTo remove containers, images, and stored data:
make fclean-
URL:
https://mohhusse.42.fr
-
URL:
http://localhost:8080 -
Database server:
mariadb
-
URL:
http://localhost:8081
- Host:
localhost - Port:
21 - Mode: Passive
- Username:
ftpuser - Password:
ftppassword - Accessible directory: WordPress root files
-
URL:
http://localhost:9090
Prometheus provides system and container metrics for monitoring purposes.
All persistent data is stored on the host machine under:
/home/$USER/data
/home/$USER/data/wordpress
/home/$USER/data/mariadb
These directories remain intact across container restarts.
To see running containers:
docker compose psTo view logs for a specific service:
docker logs <service_name>Example:
docker logs wordpress- NGINX is the only HTTPS entrypoint.
- Internal services (MariaDB, Redis, Node Exporter) are not exposed publicly.
- FTP and Adminer are bonus services and use separate ports.
- Monitoring is read-only and does not affect application behavior.
If a service is not accessible:
-
Ensure containers are running using
docker compose ps -
Check logs using
docker logs -
Restart the stack if needed:
make down make