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.
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.
- 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.
These are the persistent data :
- WordPress database
- WordPress files
Give the ability to the containers to communication between each other.
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