The Inception stack runs the following services:
| Service | What it does | Address |
|---|---|---|
| WordPress | The main website — a fully functional CMS | https://caide-so.42.fr |
| Static website | A personal profile page | http://caide-so.42.fr |
| Adminer | Database management UI (browser-based) | http://caide-so.42.fr:8000/adminer.php |
| Portainer | Docker dashboard — view and manage all containers | http://caide-so.42.fr:9000 |
| FTP | File access to the WordPress files | ftp caide-so.42.fr (port 21) |
The following services run in the background and are not directly user-facing:
- MariaDB — the database used by WordPress
- Redis — cache layer that speeds up WordPress
- NGINX — the web server that handles all incoming traffic and routes it to the right service
Open a terminal on the VM and navigate to the project folder:
cd ~/inceptionStart everything:
makeThe first time you run this, you will be prompted to enter passwords for the database and WordPress accounts. After that, all containers will build and start automatically.
Stop everything (keeps your data):
make downStart again after stopping:
make upFull restart from scratch (rebuilds images, wipes all data):
make re
⚠️ make redeletes all WordPress content and database data. Only use it if you want a completely fresh start.
Open your browser and go to:
https://caide-so.42.fr
Your browser will show a security warning because the SSL certificate is self-signed. Click "Advanced" → "Accept the risk and continue" (Firefox) or "Proceed anyway" (Chrome).
https://caide-so.42.fr/wp-admin
Log in with the WordPress admin credentials (see section below).
http://caide-so.42.fr:8000/adminer.php
Use the following to log in:
- System: MySQL
- Server:
mariadb - Username:
rootorwp_user - Password: your database password
- Database:
wordpress_db
http://caide-so.42.fr:9000
On the first visit, you will be asked to create an admin account. After that, click "local" to manage the running containers.
All credentials are stored as plain text files inside the secrets/ folder at the root of the project:
| File | What it contains |
|---|---|
secrets/db_password.txt |
MariaDB wp_user password |
secrets/db_root_password.txt |
MariaDB root password |
secrets/wp_admin_password.txt |
WordPress admin account password |
secrets/wp_user_password.txt |
WordPress regular user password |
secrets/ftp_password.txt |
FTP user password |
Non-sensitive configuration (usernames, database name, domain, email addresses) is stored in srcs/.env.
⚠️ Thesecrets/files are listed in.gitignoreand are never committed to the repository. Keep them safe and do not share them.
To change a password: delete the relevant .txt file and run make re. You will be prompted to enter a new password.
View all running containers:
docker psYou should see all containers listed with status Up.
Check logs for a specific service:
docker logs wordpress
docker logs mariadb
docker logs nginx
docker logs redis
docker logs ftp
docker logs adminer
docker logs portainerUsing Portainer (easier):
- Go to
http://caide-so.42.fr:9000 - Click "local" → "Containers"
- Click any container name → "Logs" to see its output in real time
Quick health check — confirm WordPress is reachable:
curl -k https://caide-so.42.frIf you see HTML output, the stack is working correctly.