the webserver for vufind based on apache2
2.2K
vufind-httpd is VuFinds 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.
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
BASE_PATH="": the base-path under which VuFind is reachableBASE_PATH-Option will not work for this ImagesContent type
Image
Digest
Size
59.3 MB
Last updated
about 8 years ago
docker pull ubleipzig/vufind-httpd