Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.42 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.42 KB

About

This repository aims to introduce you to the beautiful world of Docker. In order to do that, we'll work on the 42 project named Inception.

Inception

You can read the subject beforehands to have an overview of the global scope. However the instruction for our session are written down on this readme.

The goal of this project is to create a small infrastructure composed of several services - resulting of using the LEMP Stack. And this by using docker-compose.

In order to do so, we have to create a network of containers accessible from the outside only through the port 443.

Containers

  • NGINX
  • WordPress
  • MariaDB

They must be built from the penultimate stable version of Alpine Linux, or from Debian Buster.

Warning : pulling ready made images from DockerHub is forbidden. We have to built by yourself the images.

Bind mounts

These are the persistent data :

  • WordPress database
  • WordPress files

Docker network

Give the ability to the containers to communication between each other.

Warning

For make it work you need to have the two following folders in the file system on your host machine : /home/wollio/data/wordpress and /home/wollio/data/mariadb