{"id":16779778,"url":"https://github.com/m4rcu5nl/docker-lighttpd-alpine","last_synced_at":"2025-04-10T20:52:35.588Z","repository":{"id":87253089,"uuid":"84501633","full_name":"m4rcu5nl/docker-lighttpd-alpine","owner":"m4rcu5nl","description":"~ 15MB lighttpd Docker image","archived":false,"fork":false,"pushed_at":"2023-09-15T07:54:56.000Z","size":29,"stargazers_count":11,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T18:21:29.502Z","etag":null,"topics":["alpine-linux","docker-image","lighttpd"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4rcu5nl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-10T00:26:18.000Z","updated_at":"2024-05-27T18:06:30.000Z","dependencies_parsed_at":"2025-02-18T02:45:31.685Z","dependency_job_id":null,"html_url":"https://github.com/m4rcu5nl/docker-lighttpd-alpine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rcu5nl%2Fdocker-lighttpd-alpine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rcu5nl%2Fdocker-lighttpd-alpine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rcu5nl%2Fdocker-lighttpd-alpine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4rcu5nl%2Fdocker-lighttpd-alpine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4rcu5nl","download_url":"https://codeload.github.com/m4rcu5nl/docker-lighttpd-alpine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248297011,"owners_count":21080309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","docker-image","lighttpd"],"created_at":"2024-10-13T07:32:16.948Z","updated_at":"2025-04-10T20:52:35.580Z","avatar_url":"https://github.com/m4rcu5nl.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Docker Pulls](https://img.shields.io/docker/pulls/m4rcu5/lighttpd.svg)](https://hub.docker.com/r/m4rcu5/lighttpd/) [![Build Status](https://travis-ci.org/m4rcu5nl/docker-lighttpd-alpine.svg?branch=master)](https://travis-ci.org/m4rcu5nl/docker-lighttpd-alpine) [![GitHub issues](https://img.shields.io/github/issues/m4rcu5nl/docker-lighttpd-alpine.svg)](https://github.com/m4rcu5nl/docker-lighttpd-alpine/issues)\n\n![](files/docker-lighttpd.png)    \nThe default build of this image is really just a clean install of lighttpd on Alpine Linux. The only change I made is adding minimal configuration for ssl and include a self signed certificate. Further customization magic should happen during docker run. Copies of the lighttpd config files can be found in `./config/lighttpd`.\n\nRun examples\n----\n```\ndocker run \\\n\t--detach \\\n\t--name lighttpd \\\n\t--mount type=bind,source=/etc/localtime,destination=/etc/localtime,readonly=true \\\n\t--mount type=bind,source=$PWD/htdocs,destination=/var/www/localhost/htdocs \\\n\t--publish 8080:80 \\\n\t--publish 8443:443 \\\n\tm4rcu5/lighttpd:latest\n```\nThe above will start a detached container named _lighttpd_ with a bind-mount for `/etc/localtime` to match the container's timezone with it's host and a bind-mount for a host dir as webroot. It publishes port the container's port 80 as the host's port 8080 and container port 443 as the hosts port 8443.    \n\n```\ndocker run \\\n\t--detach \\\n\t--name lighttpd \\\n\t--mount type=bind,source=/etc/localtime,destination=/etc/localtime,readonly=true \\\n\t--mount type=bind,source=$PWD/htdocs,destination=/var/www/localhost/htdocs \\\n\t--mount type=bind,source=$PWD/config/lighttpd,destination=/etc/lighttpd,readonly=true \\\n\t--publish 8080:80 \\\n\t--publish 8443:443 \\\n\tm4rcu5/lighttpd:latest\n```\nPretty much the same as the previous example, only it mounts lighttpd config files from the host filesystem for extra customization. If you do this, either provide a valid ssl certificate as *config/lighttpd/ssl/localhost.pem* or update *lighttpd.conf* and/or *ssl.conf* to match your project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4rcu5nl%2Fdocker-lighttpd-alpine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4rcu5nl%2Fdocker-lighttpd-alpine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4rcu5nl%2Fdocker-lighttpd-alpine/lists"}