llefranc / 42_inception

School project: set up a web server using Docker-Compose, with each service running separately in its own container.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

42_inception

Here is the subject

This project was an introduction to system administration by using Docker.

We had to virtualize several Docker images for different services, and to deploy them using docker-compose.

We had to setup the following things:

  • ➡️ A Docker container that contains NGINX with TLS
  • ➡️ A Docker container that contains WordPress + php-fpm
  • ➡️ A Docker container that contains MariaDB
  • ➡️ A volume that contains the WordPress database
  • ➡️ A second volume that contains your WordPress website files
  • ➡️ A docker-network that establishes the connection between the containers

Sources

How to config a HTTPS server
Create a TLS certificate
Looping in a shell script until until a process die
Start php-fpm in foreground

About

School project: set up a web server using Docker-Compose, with each service running separately in its own container.


Languages

Language:Dockerfile 35.1%Language:PHP 27.8%Language:Shell 20.3%Language:Makefile 16.8%