I, Librarian is a free and open source web application to build a science library.
500K+
This is a Dockerfile for I, Librarian. Please, Look at the following instructions.
If you do not already have an I, Librarian database, you must create a blank library folder ${DATA_PATH} to initiate the library on the host before to run the container, and set up its ownership correctly.
mkdir ${DATA_PATH}
sudo chown 33:33 ${DATA_PATH}
sudo docker run -d -p 8080:80 \
-v ${DATA_PATH}:/app/data \
-v /etc/localtime:/etc/localtime:ro \
--name=i-librarian \
cgrima/i-librarian
Create your docker-compose.yml file such as
version: "2"
services:
app:
image: cgrima/i-librarian
privileged: true
ports:
- "8080:80"
volumes:
- ${DATA_PATH}:/app/data
- /etc/localtime:/etc/localtime:ro
Then, start docker-compose
docker-compose up -d
Open http://localhost:8080 on your web browser and follow instructions.
Note: The 4.10 database folder was called library. It is called data in 5.*.
docker-compose stop i-librarianlibrary/ folder.docker-compose rm i-librarian.docker-copomse up -d.-v ${LIBRARY_PATH}:/app/library./app/library).Simply stop, remove, and launch your container again. With docker-compose:
docker-compose down
docker-compose up -d
If you have rights/permissions issues with the library folder try to add the --privileged=true option to the docker run command.
Content type
Image
Digest
sha256:a9ed424c5…
Size
951.2 MB
Last updated
10 months ago
docker pull cgrima/i-librarian