GithubHelp home page GithubHelp logo

shuta-syd / 42-inception Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 251 KB

This project aims to broaden your knowledge of system administration by using Docker.

Dockerfile 18.37% Shell 23.42% PHP 51.01% Makefile 7.20%

42-inception's Introduction


Inception


The Project

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.

Docker containers

  • MariaDB
  • WordPress
  • Nginx

How to use

  • Build the images and deploy the infrastructure:

     $ make
  • Stop and remove containers, remove images, volumes and network:

     $ make clean

42-inception's People

Contributors

shuta-syd avatar

Watchers

 avatar

42-inception's Issues

Subject

  • This project need to be done on a Virtual Machine.
  • All the files required for the configuration of your project must be placed in a srcs folder
  • A Makefile is also required and must be located at the root of your directory. It must set up your entire application
  • Each Docker image must have the same name as its corresponding service
  • Each service has to run in a dedicated container
  • the containers must be built either from the penultimate stable version of Alpine Linux, or from Debian Buster
  • You also have to write your own Dockerfiles, one per service. The Dockerfiles must be called in your docker-compose.yml by your Makefile.
  • A Docker container that contains NGINX with TLSv1.2 or TLSv1.3 only.
  • A Docker container that contains WordPress + php-fpm (it must be installed and configured) only without nginx.
  • A Docker container that contains MariaDB only without nginx.
  • A volume that contains your WordPress database
  • A second volume that contains your WordPress website files
  • A docker-network that establishes the connection between your containers
  • Your containers have to restart in case of a crash
  • In your WordPress database, there must be two users, one of them being the administrator. The administrator’s username can’t contain admin/Admin or administrator/Administrator
  • This domain name must be login.42.fr. Again, you have to use your own login.
  • Your NGINX container must be the only entrypoint into your infrastructure via the port 443 only, using the TLSv1.2 or TLSv1.3 protocol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.