Skip to content

caroldaniel/42sp-cursus-inception

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inception

42cursus' project #13

This project aims to broaden your knowledge of system administration by using Docker. You will virtualize several Docker images, creating them in your new personal virtual machine. To do so, you'll need to understand about virtualization, containers, network and so on.


Final score

cado-car's 42Project Score

Completed + Bonus

cado-car's 42Project Badge

Mandatory

For the mandatory part, we should:

  1. Choose the build images between Alpine or Debian;
  2. Create Dockerfiles for each service run (they should all be in different containers);
  3. The Dockerfiles should be caled from a docker-compose.yml file;
  4. Set up a Docker container that contains NGINX with TLSv1.2 or TLSv1.3 only;
  5. Set-up a Docker container that contains WordPress + php-fpm (it must be installed and configured) only without nginx;
  6. Set-up a Docker container that contains MariaDB only without nginx;
  7. Set up a volume that contains a WordPress database;
  8. Set up a second volume that contains all the WordPress website files;
  9. Set up a docker-network that establishes the connection between the containers;
  10. Set up two users, one of them being the administrator;
  11. Configure a domain name so it points to your local IP Address. The domain must be login.42.fr, where login is my username, cado-car.

Bonus

For the bonus part we should:

  1. Set up redis cache for the WordPress website in order to properly manage the cache;
  2. Set up a FTP server container pointing to the volume of the WordPress website;
  3. Create a simple static website in the language of our choice except PHP (Yes, PHP is excluded!). For example, a showcase site or a site for presenting your resume.
  4. Set up Adminer;
  5. Set up a service of our choice that we think is useful.

The project

Implementation Guide

As I've done in the born2beroot project, Inception also calls for a complete implementation guide, full of twists and turns and a whole lot of concept explanaitions.

As per usual, do not trust anything I say here. These guides are more for my own benefit then yours. However, I'll be happy if it happens to unstuck at least one lost soul in its lifetime.

  • Implementation guide for Mandatory
  • Implementation guide for the Bonus

Evaluation guide

To make things easier during evaluation (or simply to whoever may want to clone and test my project), I've also written an evaluation guide. It's a simple step-by-step guide to test the project and check if everything is working as expected.