This repository contains a project of the 42 school. The task is to create a simple web server using Docker containers.
The operating system inside the Docker containers should be either Debian buster
or Alpine Linux.
I have choosen Alpine Linux for my solutions.
The mandatory part consists of three services, each in its own container:
Additionally, two volumes:
- One for the wordpress data
- and one for the database.
As a bonus, I set up the Raven MUD using another volume for the necessary mudlib
.
In the beginning, I set up the container for MariaDB. It should be accessible inside
of the Docker network on port 3306
.
Wordpress and php-fpm
Next, I settled up wordpress and the PHP CGI handler. It should be accessible inside
of the Docker network on port 9000
.
With the CGI handler and the database settled up, I added the web server. It should accept
only encrypted connections via TLS in version 1.2
or 1.3
. It should be accessible
from anywhere on port 443
.
As a additional bonus, I set up the Raven MUD. The necessary mudlib
is mounted as additional
volume and was written by nijakow.
This repository will not be developed any further.
© Copyright 2022 mhahnFr