{"id":21614762,"url":"https://github.com/eea/eea.docker.apache","last_synced_at":"2025-09-04T05:16:19.572Z","repository":{"id":31718293,"uuid":"35284127","full_name":"eea/eea.docker.apache","owner":"eea","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-13T15:11:45.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":46,"default_branch":"master","last_synced_at":"2025-03-13T16:25:22.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eea.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","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":"2015-05-08T14:35:02.000Z","updated_at":"2025-03-13T15:11:15.000Z","dependencies_parsed_at":"2025-01-23T17:29:40.214Z","dependency_job_id":"6e6d3d68-27fa-4345-82bf-7f792581b741","html_url":"https://github.com/eea/eea.docker.apache","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.apache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.apache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.apache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.apache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.apache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244266091,"owners_count":20425825,"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":[],"created_at":"2024-11-24T22:09:16.561Z","updated_at":"2025-03-18T16:49:08.783Z","avatar_url":"https://github.com/eea.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Apache HTTP server Docker image\n\nThis image is generic, thus you can obviously re-use it within\nyour non-related EEA projects.\n\n - Alpine: **3.19**\n - Apache: **2.4.63**\n - Expose: **80**\n\n### Supported tags and respective Dockerfile links\n\n - `:latest` [*Dockerfile*](https://github.com/eea/eea.docker.apache/blob/master/Dockerfile) - Alpine: **3.19**, Apache: **2.4.63**\n\n### Stable and immutable tags\n  - `:2.4-3.4` [*Dockerfile*](https://github.com/eea/eea.docker.apache/tree/2.4-3.3-alpine/alpine/Dockerfile) - Alpine: **3.19** Apache: **2.4.63**\n\nSee [older versions](https://github.com/eea/eea.docker.apache/releases)\n\n### Changes\n\n - [CHANGELOG.md](https://github.com/eea/eea.docker.apache/blob/master/CHANGELOG.md)\n\n\n### Base docker image\n\n - [hub.docker.com](https://hub.docker.com/r/eeacms/apache)\n\n\n### Source code\n\n  - [github.com](http://github.com/eea/eea.docker.apache)\n\n\n### Installation\n\n1. Install [Docker](https://www.docker.com/).\n\n2. Install [Docker Compose](https://docs.docker.com/compose/).\n\n\n## Usage\n\n### Run with Docker Compose\n\nHere is a basic example of a `docker-compose.yml` file using the `eeacms/apache` docker image:\n\n    version: \"2\"\n    services:\n      apache:\n        image: eeacms/apache:latest\n        ports:\n        - \"80:80\"\n        depends_on:\n        - plone\n        environment:\n          APACHE_CONFIG: |-\n            \u003cVirtualHost *:80\u003e\n                ServerAdmin contact@localhost\n                ServerName localhost\n                ErrorLog /var/log/apache.log\n\n                RewriteEngine On\n                RewriteRule ^/(.*) http://plone:8080/VirtualHostBase/http/localhost:80/VirtualHostRoot/$$1 [P,L]\n            \u003c/VirtualHost\u003e\n      plone:\n        image: plone\n\n\n### Run it with Docker\n\n    $ docker run -it --rm -v conf.d/virtual-host.conf:/usr/local/apache2/conf/extra/vh-my-app.conf -p 80:80 eeacms/apache\n\n\n## Supported environment variables\n\n* `APACHE_MODULES` Load more apache modules, space separated (e.g. `APACHE_MODULES=file_cache_module cache_module cache_disk_module watchdog_module`)\n* `APACHE_INCLUDE` Include extra config files, space separated (e.g. `APACHE_INCLUDE=conf/extra/httpd-mpm.conf conf/extra/httpd-languages.conf`)\n* `APACHE_CONFIG` Provide entire Apache VH conf. Useful with `docker-compose.yml`\n* `APACHE_CONFIG_URL` Provide external VH conf URL (e.g. `APACHE_CONFIG_URL=http://github.com/org/repo/vh-example.conf`)\n* `APACHE_SSL_CERT` Provide Apache SSL certificate. Will be saved within container at `/usr/local/apache2/conf/server.crt`.\n* `APACHE_SSL_CHAIN` Provide Apache SSL chain. Will be saved within container at `/usr/local/apache2/conf/server-chain.crt`.\n* `APACHE_SSL_KEY` Provide Apache SSL key. Will be saved within container at `/usr/local/apache2/conf/server.key`. (**WARNING**: Never commit the SSL key on GitHub)\n\n### Deprecated environment variables. Please use `APACHE_CONFIG` or `APACHE_CONFIG_URL`\n\n* `CONFIG_URL` Provide external VH conf URL (e.g. `CONFIG_URL=http://github.com/org/repo/vh-example.conf`)\n* `SERVER_ADMIN` Email address of the Web server administrator (e.g. `SERVER_ADMIN=contact@example.com`)\n* `SERVER_NAME` Specifies a hostname and port number (matching the Listen directive) for the server (e.g. `SERVER_NAME=www.example.com`)\n* `SERVER_ALIAS` Alternate names for a host used when matching requests to name-virtual hosts (e.g. `SERVER_ALIAS=example.com`)\n* `RewriteCond` Defines a condition under which rewriting will take place (e.g. `RewriteCond=%{HTTP_HOST} ^example\\.com [NC]`)\n* `RewriteRule` Defines rules for the rewriting engine (e.g. `RewriteRule=^/(.*) http://haproxy:5000/VirtualHostBase/http/example.com:80/Plone/VirtualHostRoot/$1 [P,L]`)\n\n\n### Reload configuration file for Apache\n\n    $ docker exec \u003cname-of-your-container\u003e reload\n\n\n### Extend it\n\nBuild a `Dockerfile` with something similar:\n\n    FROM eeacms/apache:latest\n    ADD your-file.conf /usr/local/apache2/conf/extra/vh-my-app.conf\n\n\n## Copyright and license\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nAll Rights Reserved.\n\nThe Original Code is free software;\nyou can redistribute it and/or modify it under the terms of the GNU\nGeneral Public License as published by the Free Software Foundation;\neither version 2 of the License, or (at your option) any later\nversion.\n\n\n## Funding\n\n[European Environment Agency (EU)](http://eea.europa.eu)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.apache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.apache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.apache/lists"}