This project defines a very simple Docker Compose application that consists of a single Apache httpd service. It is intended for use in the lab of the WebSec course and by no means considered "fit" for production use.
The httpd image is based on the Apache 2.4.12 image from the official Apache httpd docker repository. It is essentially a vanilla httpd installation compiled from the source distribution.
- Install Docker and Docker Compose.
- Create a clone of this repository on your local machine.
- Add websec-httpd as a name of your loopback network device (127.0.0.1) to your hosts file.
- Make the necessary changes to
httpd-container/conf
as required by your assignment. cd
into the directory that holdsdocker-compose.yml
.- Start the Web server with
sudo docker-compose up
. When you direct your Web browser to http://websec-httpd/, then the container should serve you an HTML page.