Public Repository

Last pushed: 10 hours ago
Short Description
A container with the library system Koha.
Full Description

The digibib/koha-image is built based on specific revisions in
https://github.com/digibib/koha-salt-docker

There will be a tag for each git-revision. (This could have been an automated build if tagging each build was a possibility.)

Using the Koha Docker image

Download image from Docker Hub Registry

docker pull digibib/koha:[tag/revision]

The tag/revision should correspond to the git revisions in the git repository.

Starting a Koha Docker container

docker run -d --name koha_docker \ -p 6001:6001 -p 8080:8080 -p 8081:8081 \ -t digibib/koha:[tag/revision]

The tag/revision is as above.

It takes a little while for the Koha startup to complete.

Accessing Koha

Starting Koha as explained above makes the OPAC available on port 8080 (http) and Intra on port 8081 (http). The SIP-server is available on port 6001 (tcp).

Credentials

You should set credentials for the Koha instance database user on container startup (to avoid default values), you can also set the Koha instance name, and SIP-server settings :

docker run -d --name koha_docker \ -p 6001:6001 -p 8080:8080 -p 8081:8081 \ -e KOHA_INSTANCE=[koha instance name, default: name] \ -e KOHA_ADMINUSER=[db admin user name, default: admin] \ -e KOHA_ADMINPASS=[db admin password, default: secret] \ -e SIP_WORKERS=[no of workers, default: 3] \ -e SIP_AUTOUSER1=[username, default: autouser] \ -e SIP_AUTOPASS1=[password, default: autopass] \ -t digibib/koha

External MySql

[TBW]

Logs

Log entries from a number of logs will be concatenated into standard out and can be seen using:
docker logs koha_docker

The logs tailed to standard out:

  /var/log/koha/${KOHA_INSTANCE}/intranet*.log
  /var/log/koha/${KOHA_INSTANCE}/opac*.log
  /var/log/koha/${KOHA_INSTANCE}/zebra*.log
  /var/log/apache2/other_vhosts_access.log
  /var/log/koha/${KOHA_INSTANCE}/sip*.log
Docker Pull Command
Owner
digibib