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