Skip to content

Trying to build an Ubuntu based koha docker.

Notifications You must be signed in to change notification settings

sukuoru/koha-docker-ubuntu

 
 

Repository files navigation

koha-docker-ubuntu

This is an attempt to make a Koha docker image. I am by no means an expert in Docker or Github, I just saw all the broken Github repositories when I was trying to test Koha, and here we are. My goal was to find and set up something for book inventory, though this may be a bit overkill for personal use.
This is meant to be self-hosted, and used in your network. I have not done anything to harden this container.

Still a work in progress.

Start the container by:

  • git clone https://github.com/sukuoru/koha-docker-ubuntu
  • cd koha-docker-ubuntu
  • modify docker-compose / dockerfile as needed
  • docker compose up -d
  • navigate to docker-ip:3025

In the docker-compose.yml file, you can change a few things, if needed.
NO_MEMCACHED can be set to true to NOT install memcached
SLEEP affects how long we will wait for the database server/rabbitmq to be available before trying again

Most importantly:
TIMEZONE to set the Koha's timezone. Uses PHP format:
https://www.php.net/manual/en/timezones.php

INSTALL_LANG to add a language translation. Be sure to uncomment it if you need this.
https://wiki.koha-community.org/wiki/Koha_on_Debian#Additional_configuration

In the koha-conf.xml you can provide your own encryption_key .
This can be generated by runing pwgen 32 in the container, or through other means.

docker exec -ti koha /bin/bash
tail -f /var/log/apache2/error.log

About

Trying to build an Ubuntu based koha docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.9%
  • Dockerfile 48.1%