Skip to content

Latest commit

 

History

History
101 lines (68 loc) · 2.08 KB

File metadata and controls

101 lines (68 loc) · 2.08 KB

User Documentation — Inception

Services Overview

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

Starting and Stopping

Start the project

make

This builds all Docker images and starts the containers in the background.

Stop the project

make down

This stops and removes all running containers but preserves your data.

Restart

make restart

Accessing the Website

  1. Make sure the domain is configured in your /etc/hosts file:

    127.0.0.1 ezohin.42.fr
    
  2. Open your browser and go to:

    • Website: https://ezohin.42.fr
    • Admin panel: https://ezohin.42.fr/wp-admin
  3. Accept the self-signed certificate warning in your browser.

WordPress Accounts

Role Username Password Location
Administrator superchief secrets/credentials.txt
Editor editor secrets/credentials.txt

Managing Credentials

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:

  1. Edit the corresponding file in secrets/
  2. Run make fclean && make to rebuild with new credentials

Checking Service Health

View running containers

make status

View logs

make logs

Check individual services

docker exec nginx nginx -t          # Test NGINX config
docker exec mariadb mysqladmin ping  # Check MariaDB
docker exec wordpress php -v        # Check PHP version

Verify HTTPS

curl -k https://ezohin.42.fr

You should receive the WordPress HTML page.