Skip to content

Hive13/koha-dockerization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koha-dockerization

A docker image for Hive13's Koha instance

This is a work in progress and the running container requires some initialization commands when installing a new koha instance.

Building & Running

Build the Docker image

docker build -t koha-test .

Prepare local directories & permissions for persistant data

mkdir -p ./working-data/sql-data
mkdir -p ./working-data/koha-data
mkdir -p ./working-data/koha-config
mkdir -p ./working-data/sites-available
sudo chown -R 101:101 ./working-data/sql-data
sudo chown -R 1001:1001 ./working-data/koha-data
sudo chown -R 1001:1001 ./working-data/koha-config
sudo chmod -R g+rw ./working-data/sql-data

Notes:

uid(101) and gid(101) map to the mysql user & group on the container

uid(1001) and gid(1001) map to the hive13-koha user & group on the container

Start the container

./startup.sh

About

A docker image for Hive13's Koha instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published