Giter VIP home page Giter VIP logo

digilib-docker's Introduction

digilib-docker

A docker image for the Digilib Image Server

How to run

docker run --rm \
    -p 8080:8080 \
    --name digilib \
    -v /your/path/to/images:/var/lib/digilib/images \
    stadlerpeter/digilib-docker

Available parameters

All settings of the XML file digilib-config.xml—which drives the Digilib webapp—can be overridden or set with Docker environment variables. To set a variable, you'll need to prefix its key with "DIGILIB_" and turn it into upper-case while replacing hyphens with underscores. Some examples:

  • DIGILIB_IIIF_PREFIX=IIIF: The prefix (after Scaler) that leads to the IIIF API
  • DIGILIB_DEFAULT_QUALITY=2: The default interpolation quality. 0: do not use interpolation (worst), 1: use linear interpolation, 2: use bilinear interpolation and blur-before-scale (best)
  • DIGILIB_MAX_IMAGE_SIZE: The maximum size of delivered images as pixel area, 40000 means up to 200x200 or 100x400, 0 means no limit
  • DIGILIB_ERROR_IMAGE=https://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Dialog-error-round.svg/48px-Dialog-error-round.svg.png: This image is sent to indicate a general failure.

Further information about these parameters is available at https://robcast.github.io/digilib/digilib-config.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.