The Inception stack provides the following services:
| Service | Description | Container |
|---|---|---|
| NGINX | Reverse proxy with TLS (HTTPS on port 443) | nginx |
| WordPress | CMS with php-fpm (no web server) | wordpress |
| MariaDB | Relational database for WordPress | mariadb |
makeThis builds all Docker images and starts the containers in the background.
make downThis stops and removes all running containers but preserves your data.
make restart-
Make sure the domain is configured in your
/etc/hostsfile:127.0.0.1 ezohin.42.fr -
Open your browser and go to:
- Website:
https://ezohin.42.fr - Admin panel:
https://ezohin.42.fr/wp-admin
- Website:
-
Accept the self-signed certificate warning in your browser.
| Role | Username | Password Location |
|---|---|---|
| Administrator | superchief |
secrets/credentials.txt |
| Editor | editor |
secrets/credentials.txt |
All sensitive data is stored in the secrets/ directory:
| File | Contains |
|---|---|
secrets/credentials.txt |
WordPress admin/user password |
secrets/db_password.txt |
MariaDB user password |
secrets/db_root_password.txt |
MariaDB root password |
Important: These files must never be committed to Git. They are listed in
.gitignore.
To change a password:
- Edit the corresponding file in
secrets/ - Run
make fclean && maketo rebuild with new credentials
make statusmake logsdocker exec nginx nginx -t # Test NGINX config
docker exec mariadb mysqladmin ping # Check MariaDB
docker exec wordpress php -v # Check PHP versioncurl -k https://ezohin.42.frYou should receive the WordPress HTML page.