Based on the official httpd Docker image.
Use environment variables to set the hostnames for each virtual host supported by this Apache:
DATA_HOST
: data.europana.euOLD_EXHIBITIONS_HOST
: exhibitions.europeana.euSTYLEGUIDE_HOST
: style.europeana.euWWW_HOST
: www.europeana.eu
The above are the expected production values for these hosts, which still need to be set in environment variables, but you may wish to set them to other values in test / staging environments.
The www.europeana.eu virtual host reverse proxies a number of URL path patterns to other hosts, determined by the environment variables:
SITEMAP_HOST
: Sitemap API (host only, for proxying)
Static documents are served from htdocs/www.europeana.eu
Linked data content negotiation.
Static documents are served from htdocs/data.europeana.eu
Serving static style assets.
export VERSION=20190625
docker build -t europeana/portal-apache:${VERSION} .
docker run \
-p 8080:80 \
--env-file=.env \
--name europeana-portal-apache \
europeana/portal-apache:${VERSION}
docker push europeana/portal-apache:${VERSION}
Licensed under the EUPL v1.2.
For full details, see LICENSE.md.