/httpwebserver

A simple file server handling GET and HEAD Requests running in a docker container

Primary LanguageJavaMIT LicenseMIT

Docker HttpWebServer

A simple webserver handling GET and HEAD Requests running in a Docker Container serving directories and static files from a user-specified directory. Server was tested with browser and Postman.

Getting Started

Prerequisities

In order to run this container you'll need docker and docker compose installed.

Install Docker

Install Docker Compose

Usage

  1. Add directory/files to project folder
  2. Run the Container and set the root directory with ROOTDIR=directory docker-compose up
  3. Explore files by sending requests to localhost:8080/path

License

This project is licensed under the MIT License - see the LICENSE.md file for details.