{"id":16380571,"url":"https://github.com/edyan/docker-apache","last_synced_at":"2025-03-23T03:33:13.147Z","repository":{"id":42408580,"uuid":"62055606","full_name":"edyan/docker-apache","owner":"edyan","description":"Simple Apache container to connect to an FPM Service.","archived":false,"fork":false,"pushed_at":"2019-05-03T17:06:58.000Z","size":21,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-18T17:14:45.100Z","etag":null,"topics":["apache","docker-image"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/edyan/apache/","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/edyan.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}},"created_at":"2016-06-27T12:48:06.000Z","updated_at":"2022-08-27T15:52:52.000Z","dependencies_parsed_at":"2022-09-01T01:01:02.713Z","dependency_job_id":null,"html_url":"https://github.com/edyan/docker-apache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edyan%2Fdocker-apache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edyan%2Fdocker-apache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edyan%2Fdocker-apache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edyan%2Fdocker-apache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edyan","download_url":"https://codeload.github.com/edyan/docker-apache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052659,"owners_count":20553162,"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-image"],"created_at":"2024-10-11T03:51:47.715Z","updated_at":"2025-03-23T03:33:12.832Z","avatar_url":"https://github.com/edyan.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Layers](https://images.microbadger.com/badges/image/edyan/apache.svg)](https://microbadger.com/images/edyan/apache \"Get your own image badge on microbadger.com\")\n[![Docker Pulls](https://img.shields.io/docker/pulls/edyan/apache.svg)](https://hub.docker.com/r/edyan/apache/)\n\n# Apache Docker Image for PHP FPM\nDocker Hub: https://hub.docker.com/r/edyan/apache\n\nDocker container containing Apache that connects to an FPM service.\n\n## Usage\nAdd the following to your docker-compose.yml, assuming that your PHP VM is named `php` \n(see  [edyan/php](https://github.com/edyan/docker-php)).\n\n```yaml\napache:\n    image: edyan/apache:2.2\n    volumes:\n        - ./www:/var/www\n    ports:\n        - 80:80\n```\n\n\n## Environment variables\nTwo variables have been created, to override the user and group that owns Apache (and all its files).\nThat's useful if you need to mount a volume and own the files.\n\nThese environment variables are `APACHE_UID` and `APACHE_GID`.\n\n\n## Order of .htaccess\nYou can override an `.htaccess` file by putting an `.htaccess.local`, which could be interesting if you have to keep the main file in a git repository.\n\n\n## Apache version\nTo use a specific Apache version, append the version number to the image name.\nEg: `image: edyan/apache:2.4-slim`\n\nThe following Apache versions are available:\n* Apache 2.4-slim (Alpine 3)\n* Apache 2.4 (buster stable)\n* Apache 2.2 (wheezy stable / EOL as we need now to do some strange tricks to make it work)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedyan%2Fdocker-apache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedyan%2Fdocker-apache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedyan%2Fdocker-apache/lists"}