Skip to content

42 ft_server project - use Docker to set up a web server

Notifications You must be signed in to change notification settings

qingqingqingli/ft_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Logo

ft_server

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.

Technical considerations

  • 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

How to test

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

Examples

  • The process to build the docker image can take a few minutes

ft_server_1

  • Run docker image

ft_server_2

  • Wordpress service page

ft_server_wordpress

  • PhpMyAdmin service page

ft_server_pma_0

  • MySQL Wordpress database

ft_server_pma_2

About

42 ft_server project - use Docker to set up a web server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages