{"id":18411433,"url":"https://github.com/alfg/docker-httpd","last_synced_at":"2025-06-12T21:11:42.082Z","repository":{"id":142573658,"uuid":"199094216","full_name":"alfg/docker-httpd","owner":"alfg","description":"A Dockerfile installing Apache HTTPD 2.4 from source. Built on Alpine Linux.","archived":false,"fork":false,"pushed_at":"2019-08-27T07:00:47.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T22:55:39.324Z","etag":null,"topics":["apache","docker","httpd","server"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-07-27T00:01:49.000Z","updated_at":"2019-09-07T06:10:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"36a5f9e3-ea8c-4aad-aec1-8d957291bf88","html_url":"https://github.com/alfg/docker-httpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-httpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-httpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-httpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfg%2Fdocker-httpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfg","download_url":"https://codeload.github.com/alfg/docker-httpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643050,"owners_count":21138353,"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":["apache","docker","httpd","server"],"created_at":"2024-11-06T03:37:01.818Z","updated_at":"2025-04-12T22:55:42.262Z","avatar_url":"https://github.com/alfg.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Apache HTTPD \nA Dockerfile installing Apache 2.4 from source. Built on Alpine Linux.\n\n[![Docker Stars](https://img.shields.io/docker/stars/alfg/httpd.svg)](https://hub.docker.com/r/alfg/httpd/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/httpd.svg)](https://hub.docker.com/r/alfg/httpd/)\n[![Docker Automated build](https://img.shields.io/docker/automated/alfg/httpd.svg)](https://hub.docker.com/r/alfg/httpd/builds/)\n[![Build Status](https://travis-ci.org/alfg/docker-httpd.svg?branch=master)](https://travis-ci.org/alfg/docker-httpd)\n\n## Usage\n\n* Pull docker image and run:\n```\ndocker pull alfg/httpd\ndocker run -d -p 8080:80 --rm alfg/httpd\n```\n* or build and run container from source:\n```\ndocker build -t httpd \ndocker run -d -p 8080:80 --rm httpd\n```\n\n* or build using `docker-compose`:\n```\ndocker-compose build\ndocker-compose up\n```\n\n* cURL the server to verify:\n```\n$ curl -I localhost:8080/index.html\n\nHTTP/1.1 200 OK\nDate: Fri, 26 Jul 2019 23:56:07 GMT\nServer: Apache/2.4.39 (Unix)\nLast-Modified: Fri, 26 Jul 2019 23:55:34 GMT\nETag: \"86-58e9e47322980\"\nAccept-Ranges: bytes\nContent-Length: 134\nContent-Type: text/html\n```\n\n*Please note the container must be run in daemon mode, and not interactive due to Apache HTTPD shutting down on `SIGWINCH` signal. This is by design.*\n\n* https://github.com/docker-library/httpd/issues/9\n* https://bz.apache.org/bugzilla/show_bug.cgi?id=50669\n\n\n## Configure\nApache HTTPD default configurations are included in the [etc](/etc) directory. You can override the configurations and these will be copied over into the container.\n\nAlso see [etc/httpd/sites/](/etc/httpd/sites) for adding or editing virtual hosts.\n\n## Resources\n* http://httpd.apache.org/docs/2.4/install.html","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fdocker-httpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfg%2Fdocker-httpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfg%2Fdocker-httpd/lists"}