Table of Contents
This is a System Administration subject. You will discover Docker and you will set up your first web server.
This server will run multiples services: Wordpress, phpMyAdmin, and a SQL database. It will make you aware of the importance of using scripts to automate your tasks.
- You must set up a web server with Nginx, in only one Docker container. The container OS must be debian buster.
- Your web server must be able to run several services at the same time. The services will be a WordPress website, phpMyAdmin and MySQL. You will need to make sure your SQL database works with the WordPress and phpMyAdmin.
- Your server should be able to use the SSL protocol.
- You will have to make sure that, depending on the url, your server redirects to the correct website.
You must have Docker installed in your system to run this project.
- Clone the repository and enter
$ git clone https://github.com/pabloocg/ft_server.git && cd ft_server
- Build the image
$ docker build -t ft_server .
- Run the image in a Docker container
$ docker run -d -p 80:80 -p 443:443 ft_server
To see the phpMyAdmin page visit https://localhost/phpmyadmin
(The user to access is root, without password)
To see the Wordpress site visit https://localhost/wordpress
Distributed under the GNU GPLv3. See LICENSE
for more information.
Pablo Cuadrado García
Linkedin - pablocuadrado97@gmail.com