This document explains how an end user or administrator can use and manage the Inception infrastructure.
- WordPress: A content management system for creating and managing websites. Accessible via a web browser.
- NGINX: A web server that acts as the single entry point, providing HTTPS (TLS 1.2/1.3) and reverse proxy functionality.
- MariaDB: A database system for storing WordPress data, with persistent storage.
- Docker Installed:
docker --version docker compose version
- Local Domain Configured:
Add the following line to
/etc/hosts:127.0.0.1 fmorenil.42.fr
- Environment File:
Ensure
srcs/.envis configured with the required credentials (see Managing Credentials).
- Start the Project:
make
- Stop the Project:
make stop
- Restart the Project:
make start
- Remove Containers:
make down
- Full Cleanup:
make fclean
-
Website:
- URL: https://fmorenil.42.fr
- Accept the self-signed SSL certificate in your browser.
-
Admin Panel:
- URL: https://fmorenil.42.fr/wp-admin
- Use the admin credentials from the
.envfile.
- All credentials are stored in
srcs/.env. - Example structure:
MYSQL_ROOT_PASSWORD=your_root_password MYSQL_DATABASE=wordpress MYSQL_USER=your_user MYSQL_PASSWORD=your_password WORDPRESS_ADMIN_USER=admin WORDPRESS_ADMIN_PASSWORD=admin_password
- Use strong passwords.
- Keep the
.envfile secure and excluded from version control. - Backup the
.envfile in a safe location.
- List Running Containers:
docker ps
- View Logs:
make logs
- Check Connectivity:
curl -k https://fmorenil.42.fr
- Inspect Docker Network:
docker network inspect srcs_wordpress_network