Giter Club home page Giter Club logo

docker-cantaloupe's Introduction

MIT Libraries Cantaloupe Docker Container

This is our Cantaloupe container used in production. While you are welcome to use this container, and we appreciate PRs, the primary purpose of this repo is managing our production image.

The cantaloupe.properties.sample file is the distributed version without modifications. All setting changes are handled through environment variables.

Local Development

There is a docker-compose file that will spin up an instance of minio as well as the IIIF server. The cantaloupe instance is configured to mostly track the production configuration which uses S3 for both the source and derivative cache. To start just run: docker-compose up.

The minio server can be accessed at http://localhost:9000. The default username and password are minio and password. If you want to change these you can set the MINIO_USERNAME and MINIO_PASSWORD environment variables in a .env file. You will need to create a bucket called images and upload an image file to it. You should then be able to access the image through cantaloupe. For example, if you upload a file called test.jp2 then you can see a JPEG version of the image scaled to 300 width at http://localhost:8182/iiif/2/test.jp2/full/300,/0/default.jpg.

If you make changes to the Dockerfile, you will need to run docker-compose build.

Deployment to AWS

To publish a new staging build run make publish. To promote the current staging build to production run make promote.

ToDo/Explore

Updating to ImageMagick 7. There is a commented out setup in the Dockerfile if we need to compile from source. Hopefully by the time ImageMagick 6 is no longer supported by Cantaloupe there will be an official Debian package we can use.

Source chunking. This is a new feature in Cantaloupe 4.1 and is supported by the KakaduNativeProcessor.

docker-cantaloupe's People

Contributors

acdha avatar apocheau avatar dornera avatar hardyoyo avatar ksclarke avatar matt-bernhardt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-cantaloupe's Issues

Question regarding Selection Strategy

Hello,

I want to force all JP2K requests to use the OpenJpegProcessor. I'm trying to find a var that I can set in the properties file that enables me to do this.

By default, it appears that the processor selection strategy is Automatic.

screen shot 2019-02-12 at 3 56 04 pm

Any thoughts? Thanks in advance.

Anthony

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.