Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 2.14 KB

README.md

File metadata and controls

41 lines (28 loc) · 2.14 KB

Docker Stars Docker Pulls Docker Image Size (latest by date) Docker Automated build

GitHub top language GitHub forks GitHub stars GitHub issues

GitHub license FOSSA Status

fboaventura/dckr-httpd

Docker instance to run a small footprint web server, based on caddy server.

It's useful to serve small sites, with static pages. Also very good to go with other projects that needs a webserver. It may also be used to quickly serve files on a folder over the network.

How to use

This instance is published at Docker Hub, so it's public available. All you need to run this instance is:

$ docker run -d -v `pwd`:/app/www -p 8080:80 fboaventura/dckr-httpd

You can, of course, pass some custom values to fiche, in order to make it more prone to your usage. The variables, and their defaults are:

ENV DOMAIN "localhost"
ENV BASEDIR "/app/www"
ENV CONFDIR "/app/conf"
ENV PORT "80"

Once the instance is running, all you have to do is open a web browser and point it to http://${DOMAIN}:8080