Skip to content

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

License

Notifications You must be signed in to change notification settings

lisamariesophie/httpwebserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published