- 20/08/23 : OK
- 100 score
- to discover
Docker
and install a complete web server, which will run multiple services including Wordepress, phpMyAdmin, and a SQL database.. - to learn about
system administration
.
-
Mandatory Part
- Dockerfile
- srcs/
-
Bonus Part: N/A
- all the necessary configuration files of the server are in the folder srcs.
- the Dockerfile is at the root of the repository.
- you can run the
docker build .
command. - the you have only one container, which is built with Debian Buster.
- you can run the container with
docker run xxx
without problems. - Nginx uses the SSL protocol.
- the server redirects to the correct website, according to the url.
- the server runs multiple services (WordPress and phpMyAdmin).
- the server is running with an autoindex which can be deactivated when the container is launched (via an environment variable for example).
- the WordPress website runs entirely with the MySQL database. You can go to the site, log in, and watch the database.
- the SQL database works with phpMyAdmin. You should see the WordPress tables and data.
- Dockerfile reference (official)
- Docker run reference (official)
- Best practices for writing Dockerfiles (official)
- nginx config file structure (official)
- autoindex_module (official)
- How to create a self-signed certificate with openssl