This is a System Administration project. This project uses Docker technology to set up a web server, which will run multiple services (Wordpress
, PhpMyAdmin
, MySQL
).
The project also demonstrates the importance of using scripts to automate tasks.
Docker-compose
is not allowed- Container OS must be
debian buster
- The server needs to use the
SSL
protocol - The server
redirects
to the correct website based on the url
Run the following commands
$ git clone https://github.com/qingqingqingli/ft_server
$ cd ft_server
$ docker build -t ft_server .
$ docker run -it -p 80:80 -p 443:443 ft_server
Wordpress can be accessed at
https://localhost
Phpmyadmin can be accessed at
https://localhost/phpmyadmin
username = qli
password = server
- The process to build the docker image can take a few minutes
- Run docker image
- Wordpress service page
- PhpMyAdmin service page
- MySQL Wordpress database