Sign inSign up

ubleipzig/vufind-httpd

By ubleipzig

•Updated about 8 years ago

the webserver for vufind based on apache2

Image
1

2.2K

ubleipzig/vufind-httpd repository overview

⁠vufind-httpd

vufind-httpd is VuFind⁠s default webserver, which delivers file-requests and passes requests through to the php-service. The image is based on ubleipzig/httpd⁠.

The images are extended by a default configuration with VuFind⁠-specific configuration. The configuration expects the VuFind⁠-Sources under /usr/local/vufind, and the cache-files which are built at VuFind⁠-runtime under /var/cache/vufind.

If you want to access VuFind⁠ unter http://localhost/vufind⁠ you need to provide the environment variable BASE_PATH=/vufind on container-create.

⁠supported tags

⁠Usage of the image

Usage makes only sense in connection with with vufind-php⁠, which provides the application server of VuFind⁠. The server needs to be available as host php. Also the VuFind⁠-files need to be connected to the container, so that the webserver can serve static content. VuFind⁠ creates additional cache-files, which have to be served by the webserver. This folder needs to be connected to the container as well.

You can start the webserver as follows:

#$ docker run --name httpd \
  --link php:php \
  --volume /path/to/vufind:/usr/local/vufind:ro \
  --volume /path/to/cache:/var/cache/vufind:ro \
  --environment BASE_PATH=/vufind
  ubleipzig/vufind-httpd

⁠advanced configuration

  • BASE_PATH="": the base-path under which VuFind is reachable

⁠Notes

  • The vufind1-*-Image exists only for development purposes. It enables developers to easily switch containers when they have VuFind1-work to do. The BASE_PATH-Option will not work for this Images
  • There are no tests until i know how to write them for Docker-images

Tag summary

Content type

Image

Digest

Size

59.3 MB

Last updated

about 8 years ago

docker pull ubleipzig/vufind-httpd