GithubHelp home page GithubHelp logo

42_inception's Introduction

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

Mandatory part

Each Docker image must have the same name as its corresponding service. Each service has to run in a dedicated container: You then have to set up:

  • 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.

Here is an example diagram of the expected result:

photo

NGINX

NGINX is a lightweight and fast web server that is used to serve static or dynamic web sites. In this project, I'm using NGINX to handle secure communication between your WordPress site and users using the TLSv1.2 security protocols.

WordPress + php-fpm

WordPress is a popular web content management system that is used to create dynamic web sites. It's easy to use and has a large community of developers creating plugins and themes to add functionality and customize the look of your site.

MariaDB

MariaDB is an open-source database management system that is compatible with MySQL. It's used to securely and efficiently store data. In this project, MariaDB is used to store your WordPress site's data.

Prerequisites

To use this project, it is essential to have Docker and Docker Compose installed on the machine. Docker is a popular platform that allows developers to build, ship, and run distributed applications in containers. Containers are lightweight, portable, and self-sufficient units of software that can be easily moved between different environments.

With Docker, you can package your application along with all its dependencies into a container, which can then be deployed to any machine that has Docker installed. This makes it easy to create consistent development, testing, and production environments, without having to worry about differences in underlying infrastructure.

42_inception's People

Contributors

thedatab0y avatar

Watchers

 avatar

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.