A container with the library system Koha.
100K+
The digibib/koha image is built based on specific revisions in https://github.com/digibib/koha-docker
There will be a tag for each git-revision. (This could have been an automated build if tagging each build was a possibility.)
NB: Using docker/koha:latest will result in an old image as they are not linked to tags
docker pull digibib/koha:[tag/revision]
The tag/revision should correspond to the git revisions in the git repository.
-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
Using a linked mysql container is easy. We recommend using docker-compose.
The linked mysql container needs to exist on same docker network or have an exposed port on host and be named `koha_mysql` in the network.
### 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/apache2/access.log
/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```
Content type
Image
Digest
sha256:a7690a38c…
Size
367.3 MB
Last updated
over 3 years ago
docker pull digibib/koha